Skip to main content
Glama
abhishekash

MCP Trace Inspector

security_audit

Audit tool-call security by checking caller identity, tenant, server provenance, risk, and approval evidence for tool calls; filter by trace ID or limit results.

Instructions

Audit caller identity, tenant, server provenance, risk, and approval evidence for tool calls.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
trace_idNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.6.1

TDQS

C2.9/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. 'Audit' implies a read-only inspection and it lists the evidence categories examined, which adds useful behavioral scope, but it does not explicitly state read-only safety, permissions, or side effects.

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?

One tightly written sentence, front-loaded with the verb and resource. Every word earns its place with no filler or repetition.

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

Completeness2/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 explained, but the description omits usage context and parameter semantics for a two-parameter security tool. It leaves significant gaps for an agent to call it correctly in a broader toolkit.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% for two parameters, yet the description adds no meaning for 'limit' or 'trace_id'. It does not explain default behavior, filtering, or how these parameters shape the audit.

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 ('Audit') and enumerates the resources audited (caller identity, tenant, server provenance, risk, approval evidence for tool calls). Clear enough to distinguish from generic tools, but it does not differentiate from the related sibling 'approval_log' or others.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

No guidance on when to use this tool versus alternatives such as approval_log or failure_report. It describes what is audited but not the investigative context or exclusions that would tell an agent when this is the right call.

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