Skip to main content
Glama

Check MCP security

check_mcp_security
Read-onlyIdempotent

Connect to a remote MCP server over Streamable HTTP, run initialize and tools/list, and never call a tool. Flags missing TLS, prompt injection in tool text, hidden Unicode, lookalike tool names, shell or file-write tools, destructive tools without auth, and CORS *. Returns an A–F grade and findings with a fix. If initialize is not JSON-RPC, there is no grade. Call anytime: POST https://botthru.com/mcp tools/call, or POST https://botthru.com/a2a message/send.

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

Input Schema

NameRequiredDescriptionDefault
urlYesRemote MCP endpoint, for example https://example.com/mcp.

Output Schema

NameRequiredDescriptionDefault
okNo
errorNo
gradeNo
scoreNo
messageNo
summaryNo
findingsNo
suggestionsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedOutput schema / properties / grade / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / score / type
      Previous value: -"integer"New value: +[
      +  "integer",
      +  "null"
      +]
    • addedOutput schema / properties / suggestions
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
  2. Added

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and idempotentHint, yet the description adds real value: it will perform network I/O against the target, will not invoke any tool, enumerates exactly what it flags (TLS, prompt injection, hidden Unicode, lookalike names, shell/file-write tools, unauthenticated destructive tools, CORS *), and states the no-grade edge case for non-JSON-RPC responses. The trailing endpoint instructions (POST botthru.com/mcp tools/call, /a2a message/send) are invocation mechanics rather than behavioral disclosure and add a small amount of noise.

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

Conciseness3/5

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

The first three sentences are dense and front-loaded with the right information, and each earns its place. The final sentence about POSTing to botthru.com/mcp tools/call or /a2a message/send is unrequested transport instruction that does not map to any schema parameter and distracts from the single url input.

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?

For a one-parameter probe tool with a full output schema and rich annotations, the description covers what is examined, what a result looks like (grade plus findings with a fix), and the failure mode where no grade is produced. Nothing essential to calling it correctly 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?

Only one parameter with 100% schema coverage, so the schema already carries the meaning of url. The description adds a modest amount by implying the expected transport is Streamable HTTP, but provides no format constraints beyond the schema's example.

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?

States a specific verb and resource: connect to a remote MCP server over Streamable HTTP, run initialize and tools/list, and evaluate it. The scope of checks and the A–F grade outcome are concrete. It does not differentiate itself from the similarly named sibling check_mcp_server, which is the one gap keeping it from 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 Guidelines3/5

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

"Call anytime" plus the JSON-RPC precondition gives loose context for when it applies, and "never call a tool" scopes what the probe will do. However, there is no explicit when-not guidance and no reference to the sibling check_mcp_server or check_http_security, so the agent gets no routing signal among overlapping check tools.

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.

Resources