Skip to main content
Glama

Footgun

File a new trap

file_trap

Draft a trap after a failure was fixed. Private by default with a Pro or Team key; public filings enter the review queue. A public trap is reviewed by a person before it is published; citing the provider's official documentation or changelog in sources helps. Needs an API key. Set visibility to public to submit to the public registry.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fixYes
tagsNo
applyYes
causeYes
titleYes
sourcesNo
affectedYes
providerYes
symptomsYes
visibilityNo
surface_nameYes
surface_typeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / visibility
      Added value: +{
      +  "enum": [
      +    "private",
      +    "public"
      +  ],
      +  "type": "string"
      +}
  2. First observed

TDQS

B3.4/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=false and destructiveHint=false; the description adds genuinely useful context beyond them: API key required, private-by-default behavior, and human review before a public trap is published. It stops short of describing what happens to the draft after submission (e.g., returned identifier or status).

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is front-loaded with the primary trigger, which is good, but the public-review point is stated twice ('public filings enter the review queue' and 'A public trap is reviewed by a person before it is published'), wasting a sentence. The closing line about visibility partially repeats the opening.

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?

For a 12-parameter, 9-required mutation tool with no output schema and no field-level descriptions, the description is thin: it never explains what most fields should contain or what the tool returns. The visibility/auth/review context is helpful but does not cover the bulk of what an agent must supply.

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

Parameters2/5

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

Schema description coverage is 0% across 12 parameters, so the description must carry the load and largely does not. It only clarifies 'visibility' (private/public) and hints at 'sources' (cite provider docs or changelog), leaving nine required fields such as provider, surface_type, symptoms, cause, fix, apply, and affected undocumented.

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 gives a specific verb+resource ('Draft a trap after a failure was fixed') and names the registry concept, so an agent can distinguish it from lookup_traps/search_traps/confirm_trap. The slight tension between 'file' in the name/title and 'draft' in the description leaves the exact lifecycle stage slightly ambiguous.

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?

It states a clear triggering condition (after a failure was fixed) and explains the visibility choice, including that public filings enter a review queue. It does not, however, explicitly contrast this with sibling tools like confirm_trap or search_traps.

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.