Skip to main content
Glama

Scan a remote MCP server

scan
Destructive

Runs discovery and authorized active security tests against a remote MCP server URL, returning a Markdown summary and full JSON report; active tests require ownership proof and user confirmation.

Instructions

Run discovery and, on hosts with a valid ownership proof, the active security tests against a remote MCP server URL; returns a Markdown summary and the full JSON report. Active tests register and delete temporary OAuth clients, send failed token requests and CONSUME the configured test grant. Only use on servers the user owns or is authorized to test, after the user confirmed. One scan at a time; it can take a minute. Without a proof, only discovery and two passive checks run.

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": {
      "url": "<url>"
    },
    "name": "scan"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesThe MCP endpoint URL, e.g. https://mcp.example.com/mcp
onlyNoRun only these checks: comma-separated IDs (MAP-RDR01 or RDR01) or families (RDR)
skipNoDo not run these checks (same syntax; wins over only), e.g. THR to avoid failed token requests

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.8.0
    • addedInput schema / properties / only
      Added value: +{
      +  "description": "Run only these checks: comma-separated IDs (MAP-RDR01 or RDR01) or families (RDR)",
      +  "maxLength": 500,
      +  "type": "string"
      +}
    • addedInput schema / properties / skip
      Added value: +{
      +  "description": "Do not run these checks (same syntax; wins over only), e.g. THR to avoid failed token requests",
      +  "maxLength": 500,
      +  "type": "string"
      +}
  2. First observedv0.1.0

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the annotations (destructiveHint=true, openWorldHint=true, idempotentHint=false) by naming the concrete side effects: registering and deleting temporary OAuth clients, sending failed token requests, and consuming the configured test grant. It also discloses operational traits the annotations cannot express — one scan at a time, roughly a minute duration, and the reduced check set without a proof.

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

Conciseness4/5

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

Dense and front-loaded: purpose first, then side effects, then authorization and timing constraints. Every clause carries information, though the single long sentence packing side effects and return format could be split for faster scanning.

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

Completeness5/5

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

For a destructive, non-idempotent, open-world scan with no output schema, the description covers what it does, what it destroys or consumes, the authorization precondition, timing/concurrency limits, and the shape of the response. No material gap remains for an agent to call it correctly.

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 all three parameters (url, only, skip) are already documented with formats and examples. The description adds indirect context — that active tests consume the grant and send failed token requests — which helps an agent decide what to skip, but it adds no syntax or semantics beyond what the schema already states.

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?

States a specific verb set (discovery plus active security tests) against a named resource (remote MCP server URL), plus what it returns (Markdown summary and full JSON report). The conditional behavior (active tests only with a valid ownership proof, otherwise discovery plus two passive checks) further distinguishes it from proof-related siblings.

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

Usage Guidelines4/5

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

Gives a clear precondition and ethical gate: only on servers the user owns or is authorized to test, after the user confirmed. It also explains the degraded mode without a proof, which effectively tells the agent when the full capability applies. It does not explicitly route the agent to ownership_proof/verify_ownership as the prerequisite step, so the alternative-selection guidance is implied rather than named.

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