Skip to main content
Glama

SkillSafe

scan_mcp_config

Read-only

Scan MCP tool definitions or server configurations for poisoning patterns (injection tags, credential theft, stealth instructions, exfiltration).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "scan_mcp_config"
  }
}

Input Schema

NameRequiredDescriptionDefault
toolsNoMCP tool definitions to scan (provide tools OR mcpServers, not both)
mcpServersNoMCP server config object to scan (e.g. from claude_desktop_config.json)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare this a non-destructive, read-only, closed-world operation, so the safety profile is covered. The description adds useful value by disclosing the detection categories (injection tags, credential theft, stealth instructions, exfiltration), but says nothing about what results look like or how findings are reported.

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?

A single front-loaded sentence that packs verb, resource, and the four pattern categories with zero filler. Nothing could be removed without losing signal.

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

Completeness3/5

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

Parameters and safety behavior are adequately covered by schema and annotations, but with no output schema the description should indicate what a scan returns (findings, severity, clean result) and it does not. For a detection tool that distinction matters to an agent interpreting results.

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%, so both parameters (tools, mcpServers) are already documented in the schema, including the mutual exclusivity. The description's phrase 'tool definitions or server configurations' loosely mirrors the two modes but adds no format or syntax detail beyond that.

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?

Names a specific verb (scan) and resource (MCP tool definitions or server configurations) and enumerates the four target pattern classes, so the task is unambiguous. It doesn't differentiate itself from scan_skill, but the resource scope is concrete enough to select it.

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?

Usage is only implied by the resource names; there is no explicit statement of when to reach for this versus scan_skill, nor any prerequisite or exclusion. The schema hints that tools OR mcpServers must be supplied, but the description itself gives no routing guidance.

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.