Skip to main content
Glama
badchars

mcp-security-scanner

by badchars

rt_inspect_server

Connect to any MCP server via stdio or HTTP/SSE to enumerate tools, resources, and prompts, and retrieve the server's full capability manifest.

Instructions

Connect to an MCP server via stdio or HTTP/SSE, enumerate all tools with descriptions and schemas, list resources and prompts. Returns full server capability manifest.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
envNoAdditional environment variables for stdio
urlNoMCP server URL for HTTP/SSE transport (e.g. 'http://localhost:3000/mcp')
argsNoCommand arguments for stdio (e.g. ['run', 'server.js'])
commandNoServer command for stdio transport (e.g. 'node', 'bun', 'npx')
headersNoCustom HTTP headers (e.g. { 'Authorization': 'Bearer token' })
timeout_msNoConnection timeout in milliseconds (default: 30000)

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed6 schema fields changedv1.1.1
    • changedInput schema / properties / args / description
      Previous value: -"Command arguments (e.g. ['run', 'server.js'])"New value: +"Command arguments for stdio (e.g. ['run', 'server.js'])"
    • changedInput schema / properties / command / description
      Previous value: -"Server command to execute (e.g. 'node', 'bun', 'npx')"New value: +"Server command for stdio transport (e.g. 'node', 'bun', 'npx')"
    • changedInput schema / properties / env / description
      Previous value: -"Additional environment variables"New value: +"Additional environment variables for stdio"
    • addedInput schema / properties / headers
      Added value: +{
      +  "additionalProperties": {
      +    "type": "string"
      +  },
      +  "description": "Custom HTTP headers (e.g. { 'Authorization': 'Bearer token' })",
      +  "type": "object"
      +}
    • addedInput schema / properties / url
      Added value: +{
      +  "description": "MCP server URL for HTTP/SSE transport (e.g. 'http://localhost:3000/mcp')",
      +  "type": "string"
      +}
    • removedInput schema / required
      Removed value: -[
      -  "command"
      -]
  2. First observedv1.0.0

TDQS

A3.8/5.0
Behavior3/5

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

No annotations are provided, so the description carries full burden. It discloses the connection methods (stdio, HTTP/SSE) and the action (enumerate, list), but does not mention potential side effects like starting a process, latency, or security considerations. Adequate but could be more explicit.

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?

Two sentences with no fluff. Front-loaded with the main action ('Connect to an MCP server') followed by enumeration details. Every word contributes meaning.

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?

Given the complexity (6 optional params, no output schema), the description adequately explains the tool's purpose and output ('full server capability manifest'). However, it lacks details on manifest structure, error handling, or timeouts. Still fairly complete for a discovery tool.

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%, meeting baseline. The description adds no additional meaning beyond what the schema already provides (e.g., 'url' for HTTP/SSE, 'command' for stdio). Parameters are self-explanatory from their descriptions.

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 clearly states the tool connects to an MCP server and enumerates all tools, resources, and prompts, returning a full capability manifest. This specific verb+resource combination distinguishes it from siblings like rt_check_* tools which focus on specific security checks.

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 this tool is used for initial server discovery, but does not explicitly state when to use it vs alternatives (e.g., before running checks). No conditional or exclusion criteria provided, leaving the agent to infer context from sibling names.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/badchars/mcp-security-scanner'

If you have feedback or need assistance with the MCP directory API, please join our Discord server