Skip to main content
Glama

Audit Agent Code

security.audit_agent_code
Read-only

Security audit for backdoors and data drains

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYesSource code text to audit or analyze.
paymentProofNoUSDC tx hash from any supported chain (base, ethereum, arbitrum, polygon, optimism, solana). Omit to receive a 402 price quote.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
sealNoCryptographic seal proving authenticity of this result.
resultNoStructured service payload produced by the paid operation.
price_usdNoUSD amount settled for this call.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is covered. However, the description adds no behavioral context beyond that. It does not mention that the tool requires paymentProof for execution and returns a 402 price quote when omitted, which is a significant behavioral aspect encoded only in the schema. The openWorldHint=true suggests possible external interactions, but the description is silent on that.

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 a single concise sentence with no filler. It is appropriately front-loaded with the core purpose. While it is very terse, it does not contain redundant information, and the brevity is not a problem per se, though it sacrifices contextual richness.

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?

Given the tool's complexity (payment-gated audit service with an output schema), the description is incomplete. It omits the payment requirement, any guidance on when to invoke it, and what the audit entails beyond 'backdoors and data drains'. The presence of an output schema covers return format, but the usage context and behavioral caveats are missing, making it insufficient for an agent to call correctly without additional assumptions.

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 both parameters are well-documented in the schema itself. The description adds no additional parameter information, but it does not need to – the baseline is 3 for high coverage, and the description does not contradict or enrich the schema.

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?

The description states a specific purpose: a security audit focused on backdoors and data drains. This is clear enough to distinguish from sibling tools like security.exploit_research or security.hack_autopsy, though it does not explicitly mention the target 'agent code' – that is only implied from the name/title.

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?

The description provides no guidance on when to use this tool versus alternatives. It does not mention prerequisites (like payment), nor does it compare to sibling security tools such as certify_package or exploit_research. There is no context about appropriate scenarios or exclusions.

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