Skip to main content
Glama

Tool Capability Risk

tool_risk_assessment
Read-onlyIdempotent

Assess blast radius of MCP servers by introspecting configured clients, listing tools, and classifying each by capability to produce per-tool and per-server risk scores. Use before granting or trusting exposed tools.

Instructions

Live-introspect MCP servers and score each tool's capability risk.

    Discovers configured MCP clients, connects to their servers, calls
    ``tools/list``, and classifies every exposed tool by capability
    (filesystem, network, code execution, credential access) to produce a
    per-tool and per-server risk score from what the servers actually
    advertise at runtime.

    Args:
        config_path: MCP client config directory to read; auto-discovers all
            supported clients when omitted.
        timeout: Per-server introspection timeout in seconds.

    Returns:
        JSON with per-server tool inventories, per-tool capability classes
        and risk levels, and an aggregate server risk rating.

    Use this to assess the blast radius of MCP servers an agent can reach
    before granting or trusting their tools.
    

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
timeoutNoPer-server introspection timeout in seconds.
config_pathNoPath to MCP client config directory. Auto-discovers all if omitted.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Annotations declare readOnlyHint=true, destructiveHint=false, idempotentHint=true. Description adds behavioral context beyond annotations: it connects to servers, calls tools/list, and classifies capabilities. No contradictions; the description enriches understanding without conflicting with annotations.

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 description is front-loaded with the core purpose, followed by detailed method, parameters, and return value. It is relatively concise but structured, with no unnecessary sentences. A slightly shorter version could maintain clarity, but current form is well-organized.

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?

Given the tool's complexity (live introspection of multiple servers, risk scoring), the description covers inputs, outputs, and usage context comprehensively. It explains the discovery process, classification, returns format, and use case. Output schema exists, but description still provides enough context.

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%, so the schema already fully describes both parameters (config_path, timeout). The description restates the schema descriptions almost verbatim, adding no new semantic value. Hence baseline 3 applies.

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's purpose: live-introspection of MCP servers to score each tool's capability risk. It specifies the action (introspect, score), resource (MCP servers/tools), and distinct approach (connecting, classifying) which differentiates it from sibling scanning tools.

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 description provides explicit guidance on when to use: 'assess the blast radius of MCP servers an agent can reach before granting or trusting their tools.' It does not explicitly mention alternatives, but the context makes it clear this is for dynamic risk assessment, contrasting with static analysis tools.

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

Install Server

Other Tools

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/msaad00/agent-bom'

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