Skip to main content
Glama

Check an MCP server before connecting it

mcp_security_check
Read-only

Check an MCP server before connecting it: passive, graded A-F (OAuth, tokens, headers, TLS, hidden instructions, open writes, tool changes since first seen), each failure with evidence and fix. If checking, call again in 30 s.

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": "mcp_security_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYese.g. https://mcp.example.com/mcp

Output Schema

NameRequiredDescriptionDefault
stateYes
reportNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, destructiveHint=false and openWorldHint, so the safety profile is covered; the description still adds meaningful context beyond them: the check is 'passive', results are graded A–F, each failure carries evidence and a suggested fix, and results change over time (consistent with idempotentHint=false). What it leaves unclear is whether credentials are needed and what the A–F grades mean operationally.

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?

The definition is compact and front-loaded: the action and its scope come first, the parenthetical coverage list and remediation promise follow. The long parenthetical is dense but every item earns its place; the trailing 'call again in 30 s' sentence is the least clear part and slightly muddies the close.

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

Completeness4/5

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

An output schema exists, so return values need not be described, and the description covers scope, grading, remediation, and re-check behavior. Given a one-parameter, read-only tool this is nearly complete; only authentication requirements and the meaning of the grade scale are unaddressed.

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 coverage is 100% and the single url parameter already carries an example, so the schema does the heavy lifting. The description adds only the implicit notion that the URL is an MCP endpoint to be probed, which is marginal value over the structured field — baseline 3 applies.

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

Purpose4/5

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

The description names a specific verb and resource ('Check an MCP server') and enumerates the exact dimensions checked (OAuth, tokens, headers, TLS, hidden instructions, open writes, tool changes since first seen), so the agent knows precisely what comes back. It does not differentiate from plausible siblings such as match_mcp or inite_connect, so it stops short of a 5.

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?

It gives a clear triggering condition — run this 'before connecting' to a server — which is exactly the decision point an agent needs. It also adds a re-call cadence ('call again in 30 s'), but names no when-not condition and no alternative tool, and that polling sentence is cryptic about whether a check is async or simply cached.

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.