Skip to main content
Glama

Check an MCP server

check_mcp_server
Read-onlyIdempotent

Pre-flight security verdict for an MCP server invocation. Judges BOTH server-level reputation AND the server's dependency graph (npm/pypi) against the DugganUSA threat-intel corpus (1.13M+ IOCs, Shai-Hulud + typosquat + LOLBin families). Returns BLOCK / ADVISORY / REVIEW / ALLOW with severity, evidence, dep-graph summary, and HMAC-signed response. REVIEW means we hold NO RECORD of this server -- not that it is safe. A brand-new attacker-published server also looks like this, so REVIEW calls for a look, not a pass. ALLOW is only returned when we actually resolved the server and scanned its dependency graph; known_to_us and dep_graph.scanned confirm it. Suited to a pre-flight check before a tool on another MCP server is used, especially one from outside the official MCP Registry.

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": {
      "server": "<server>"
    },
    "name": "check_mcp_server"
  }
}

Input Schema

NameRequiredDescriptionDefault
toolNoOptional name of the specific tool being invoked
serverYesREQUIRED. The server to judge: its exact MCP Registry name (io.github.owner/server-name, optionally @version). A bare name (server-name) is judged as typed, never mapped to a registry server, and the matching full names come back in input.did_you_mean. Also resolved, only when the identity is provable: a registry URL (https://registry.modelcontextprotocol.io/v0/servers/<name>) and a GitHub repo ("owner/repo" or https://github.com/owner/repo) published by that owner as exactly one registry server. Package names (npm/PyPI), images and Smithery ids are recorded but judged as given (usually REVIEW): their name does not prove which code runs. Refused: commands, shell metacharacters, non-ASCII, local paths, endpoint URLs. No substring or fuzzy matching: anything we cannot resolve to exactly one server returns REVIEW, never a guess.
versionNoOptional version of the MCP server (semver). A version inside `server` (name@1.2.3) is used when this is empty.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / server / description
      Previous value: -"REQUIRED. The server to judge: its exact MCP Registry name (io.github.owner/server-name, optionally @version) or that name's exact final segment (server-name). Also resolved, only when the identity is provable: a registry URL (https://registry.modelcontextprotocol.io/v0/servers/<name>) and a GitHub repo (\"owner/repo\" or https://github.com/owner/repo) published by that owner as exactly one registry server. Package names (npm/PyPI), images and Smithery ids are recorded but judged as given (usually REVIEW): their name does not prove which code runs. Refused: commands, shell metacharacters, non-ASCII, local paths, endpoint URLs. No substring or fuzzy matching: anything we cannot resolve to exactly one server returns REVIEW, never a guess."New value: +"REQUIRED. The server to judge: its exact MCP Registry name (io.github.owner/server-name, optionally @version). A bare name (server-name) is judged as typed, never mapped to a registry server, and the matching full names come back in input.did_you_mean. Also resolved, only when the identity is provable: a registry URL (https://registry.modelcontextprotocol.io/v0/servers/<name>) and a GitHub repo (\"owner/repo\" or https://github.com/owner/repo) published by that owner as exactly one registry server. Package names (npm/PyPI), images and Smithery ids are recorded but judged as given (usually REVIEW): their name does not prove which code runs. Refused: commands, shell metacharacters, non-ASCII, local paths, endpoint URLs. No substring or fuzzy matching: anything we cannot resolve to exactly one server returns REVIEW, never a guess."
  2. Changed3 schema fields changed
    • changedInput schema / additionalProperties
      Previous value: -falseNew value: +true
    • changedInput schema / properties / server / description
      Previous value: -"REQUIRED. Exact MCP Registry name (e.g. io.github.owner/server-name), or its exact final segment (server-name). No substring or fuzzy matching: a name we cannot resolve to exactly one server returns REVIEW, never a guess."New value: +"REQUIRED. The server to judge: its exact MCP Registry name (io.github.owner/server-name, optionally @version) or that name's exact final segment (server-name). Also resolved, only when the identity is provable: a registry URL (https://registry.modelcontextprotocol.io/v0/servers/<name>) and a GitHub repo (\"owner/repo\" or https://github.com/owner/repo) published by that owner as exactly one registry server. Package names (npm/PyPI), images and Smithery ids are recorded but judged as given (usually REVIEW): their name does not prove which code runs. Refused: commands, shell metacharacters, non-ASCII, local paths, endpoint URLs. No substring or fuzzy matching: anything we cannot resolve to exactly one server returns REVIEW, never a guess."
    • changedInput schema / properties / version / description
      Previous value: -"Optional version of the MCP server (semver)"New value: +"Optional version of the MCP server (semver). A version inside `server` (name@1.2.3) is used when this is empty."
  3. Changed2 schema fields changed
    • changedInput schema / properties / server / description
      Previous value: -"MCP server name (e.g. io.github.foo/bar) or substring"New value: +"REQUIRED. Exact MCP Registry name (e.g. io.github.owner/server-name), or its exact final segment (server-name). No substring or fuzzy matching: a name we cannot resolve to exactly one server returns REVIEW, never a guess."
    • addedInput schema / properties / server / minLength
      Added value: +1
  4. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, idempotent, open-world, non-destructive), and the description goes well beyond them: it explains what each verdict means, warns that REVIEW signals no record rather than safety, and states that ALLOW is only returned when the server was resolved and its dependency graph scanned, verifiable via known_to_us and dep_graph.scanned. It also discloses the HMAC-signed response and the threat corpus judged against.

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?

Front-loaded with the core verdict statement, then layers in verdict semantics and usage context. It is dense but nearly every sentence carries decision-relevant information; the repeated REVIEW emphasis ("not that it is safe" / "a look, not a pass") is slightly redundant but defensible given the risk of misreading REVIEW as approval.

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?

With only three parameters, no nested objects, and no output schema, the description compensates by enumerating the response contents (verdict, severity, evidence, dep-graph summary, HMAC signature) and by fully framing verdict interpretation. Nothing an agent needs to call or interpret this tool is missing.

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%, and the `server` parameter already documents accepted identity forms, refusals, and no-fuzzy-match behavior in detail. The description adds only the framing that the check is tied to an invocation and the tool parameter's purpose, so the schema continues to do the heavy lifting.

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?

"Pre-flight security verdict for an MCP server invocation" gives a specific verb (judge/check) and resource (an MCP server plus its dependency graph), and immediately states the output space (BLOCK/ADVISORY/REVIEW/ALLOW). An agent knows exactly what question this tool answers before opening the schema.

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?

The final sentence names the precise situation: a pre-flight check before using a tool on another MCP server, especially one outside the official MCP Registry. That is actionable when-to-use guidance. There is no explicit when-not-to-use or alternative tool, though no siblings exist to route to, so the gap is minor.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.