Skip to main content
Glama

Remove a reference file

remove_file
DestructiveIdempotent

Remove a draft's file, or one given to a made house (its ID).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "draft_id": "<draft_id>",
      "item_id": "<item_id>"
    },
    "name": "remove_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
item_idYes
draft_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.4/5.0
Behavior2/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the safety profile is covered. The description adds little beyond that: it never clarifies whether the underlying file is deleted or only a reference removed (the title says "reference file" but the body says "Remove a draft's file"), nor what happens if the ID is invalid or already removed.

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 a single short sentence with no filler, which is good, but the brevity comes at the cost of clarity — the parenthetical "(its ID)" is compressed to the point of being unhelpful. Front-loading the draft case works; the house case does not.

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 destructive, two-required-parameter tool with zero schema description coverage and no output schema, the description should explain both identifiers and the effect of the deletion. It leaves the parameter origins and the mutation's consequence unexplained, which is insufficient for a destructive operation.

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 coverage is 0%, so the description must carry parameter meaning, and it only partially does: "a draft's file" loosely maps to draft_id, but "(its ID)" for item_id is ambiguous and never says whether it is a file ID, an item ID, or a house-scoped ID. An agent would have to guess the format and source of item_id.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a verb and resource ("Remove a draft's file"), which distinguishes it from add_file and read_file siblings. However, the second clause "or one given to a made house (its ID)" is opaque jargon that leaves the agent unsure of the actual scope of removal.

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 versus alternatives like remove_from_set or add_file, and no prerequisites stated. The only hint of context is the draft-vs-house distinction, which is expressed too ambiguously to route an agent reliably.

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