Skip to main content
Glama

create_scope

Create a Caido target scope with allowlist and denylist host/glob rules, previewing by default and applying only when confirmed.

Instructions

Create a new target scope with allowlist and denylist host/glob rules. Defaults to confirm=false (dry-run preview).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "name": "<name>",
      "allowlist": "<allowlist>"
    },
    "name": "create_scope"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesHuman-readable scope name (e.g. "Staging API").
confirmNoSet to true to create the scope; omit or false for a dry-run preview.
denylistNoOut-of-scope host or glob patterns (e.g. ["auth.staging.example.com"]).
allowlistYesIn-scope host or glob patterns (e.g. ["*.staging.example.com"]).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the full behavioral burden. It usefully discloses the confirm=false dry-run default, but it does not describe permissions, reversibility, duplicate-name behavior, or side effects of creating a scope.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two concise, front-loaded sentences with no unnecessary wording. It communicates the core action and the most important operational default immediately.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a mutation tool with no annotations and no output schema, the description covers purpose and dry-run behavior but leaves gaps around permissions, side effects, and return behavior. Those omissions keep it from being fully complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already documents all four parameters in detail. The description reinforces allowlist/denylist and the confirm default but adds no syntax or constraints beyond what the schema provides.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource: create a target scope. It also names the allowlist and denylist host/glob rule content, which clearly distinguishes it from read-oriented siblings such as list_scopes.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies the primary use case and highlights the dry-run default, but it does not explicitly say when to use this tool versus alternatives or when creation should be avoided. The guidance is adequate but relies on the agent inferring context.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.