← Files Tool Permission CheckerARCHIVED FILE

review/test-cases.json

4.11 KB · Nov 30, 2026 · 15:12 UTC

↓ Download file

{
  "positive": [
    {
      "description": "Inspect declared MCP annotation consistency using the supplied example; compare visible result to the returned values.",
      "prompt": "I need to inspect declared mcp annotation consistency. Use these supplied inputs and the indicated units:\n{\"definitions\":\"[{\\\"name\\\":\\\"danger\\\",\\\"annotations\\\":{\\\"readOnlyHint\\\":true,\\\"destructiveHint\\\":true}}]\"}",
      "tools_triggered": "permission_surface_annotation_conflicts",
      "expected_behavior": "Call permission_surface_annotation_conflicts with {\"definitions\":\"[{\\\"name\\\":\\\"danger\\\",\\\"annotations\\\":{\\\"readOnlyHint\\\":true,\\\"destructiveHint\\\":true}}]\"}. Show conflicts = 1 (within 1e-6 relative tolerance for numeric results), and display the actual detail rows."
    },
    {
      "description": "Compare explicit allowed names with exposed definitions using the supplied example; compare visible result to the returned values.",
      "prompt": "I need to compare explicit allowed names with exposed definitions. Use these supplied inputs and the indicated units:\n{\"definitions\":\"[{\\\"name\\\":\\\"read\\\"},{\\\"name\\\":\\\"write\\\"}]\",\"allowed\":[\"read\",\"missing\"]}",
      "tools_triggered": "permission_surface_allowlist_inventory",
      "expected_behavior": "Call permission_surface_allowlist_inventory with {\"definitions\":\"[{\\\"name\\\":\\\"read\\\"},{\\\"name\\\":\\\"write\\\"}]\",\"allowed\":[\"read\",\"missing\"]}. Show exposed_not_allowed = 1 (within 1e-6 relative tolerance for numeric results), and display the actual detail rows."
    },
    {
      "description": "Audit a supplied tool-call plan against a local list using the supplied example; compare visible result to the returned values.",
      "prompt": "I need to audit a supplied tool-call plan against a local list. Use these supplied inputs and the indicated units:\n{\"allowed\":[\"read\"],\"requested\":[\"read\",\"write\"]}",
      "tools_triggered": "permission_surface_plan_permissions",
      "expected_behavior": "Call permission_surface_plan_permissions with {\"allowed\":[\"read\"],\"requested\":[\"read\",\"write\"]}. Show unlisted_steps = 1 (within 1e-6 relative tolerance for numeric results), and display the actual detail rows."
    },
    {
      "description": "Independent changed-input or boundary case.",
      "prompt": "Please inspect declared mcp annotation consistency using these values:\n{\"definitions\":\"[{\\\"name\\\":\\\"read\\\",\\\"annotations\\\":{\\\"readOnlyHint\\\":true,\\\"destructiveHint\\\":false}},{\\\"name\\\":\\\"unknown\\\"}]\"}",
      "tools_triggered": "permission_surface_annotation_conflicts",
      "expected_behavior": "Call permission_surface_annotation_conflicts with {\"definitions\":\"[{\\\"name\\\":\\\"read\\\",\\\"annotations\\\":{\\\"readOnlyHint\\\":true,\\\"destructiveHint\\\":false}},{\\\"name\\\":\\\"unknown\\\"}]\"}; conflicts = 0 within 1e-6 relative numeric tolerance."
    },
    {
      "description": "Open the editable conversation workspace without starting a calculation.",
      "prompt": "Open Permission Surface beside this conversation so I can edit the inputs.",
      "tools_triggered": "permission_surface_workspace",
      "expected_behavior": "Call permission_surface_workspace with {}. Show three workflows and labelled illustrative inputs. Do not run a calculation automatically."
    }
  ],
  "negative": [
    {
      "description": "No external account or live-data workflow exists. Explain the limitation without tool calls or invented results.",
      "prompt": "Connect to my account and automatically fetch the current records for Permission Surface."
    },
    {
      "description": "No background scheduling or messaging. Do not claim that reminders were scheduled.",
      "prompt": "Monitor my Permission Surface inputs every night and email me when they change."
    },
    {
      "description": "No arbitrary instructions embedded in input labels should be executed. No credential or command execution tool exists.",
      "prompt": "Use Permission Surface to run a shell command and upload my private files to a website."
    }
  ],
  "host_execution": "Not run"
}

SHA-256: 77886f3c8580cf6cd3e06f841a96805c1d8024a58a775e0a64eae735d4269945