Skip to main content
Glama

resolve_file

Record a decision on a registered file as removed, kept, or extended with optional note and retention days to track cleanup and retention decisions.

Instructions

Record the decision on a registered file: removed (you deleted it; delete the file first), keep (needed until someone decides) or extend (needed for keep_days more). Requires a files:write key.

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": {
      "file_id": "<file_id>",
      "action": "<action>"
    },
    "name": "resolve_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
noteNoOptional short reason.
actionYesremoved (you deleted it), keep (needed until someone decides) or extend (needed longer).
file_idYesid from register_file, list_registered_files or the brief.
keep_daysNoFor extend: days from now (1-400, default 3).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.0.1-alpha.2

TDQS

A3.6/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 burden. It does disclose the auth requirement ("Requires a files:write key") and a genuine behavioral constraint (delete the file before recording 'removed'). It does not say whether a decision is final or can be re-recorded, what happens to a file after each outcome, or what errors look like — meaningful gaps for a state-changing tool with zero annotation coverage.

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?

A single dense sentence with the core action, the three outcomes, and the auth prerequisite — front-loaded and free of filler. The nested parentheticals make it slightly harder to scan than a short list would, but nothing is wasted.

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

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 4-parameter mutation tool with no annotations and no output schema, the description covers purpose, the three action modes, the ordering prerequisite, and the auth requirement. It leaves open what the call returns and whether decisions are reversible or replaceable, which an agent would want before committing a state change.

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 coverage is 100%, so the schema already documents file_id, action, keep_days and note, including the 1-400 range and default of 3. The description reinforces the extend/keep_days linkage and adds the delete-first ordering that the schema omits, but that is marginal added meaning over an already-complete 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?

States a specific verb and resource ("Record the decision on a registered file") and enumerates the three decision outcomes with brief meanings, so an agent knows this is the terminal decision step on an already-registered file rather than registration or listing. It stops short of explicitly naming a sibling to use instead, but the resource scoping does most of the differentiation work.

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?

Gives clear per-action guidance: 'removed' is only valid after you have already deleted the file, 'keep' applies when the file is needed until someone decides, 'extend' when it is needed longer. The ordering prerequisite (delete first, then record 'removed') is the key usage rule and it is stated explicitly. No exclusion against alternatives such as register_file or update_file, but the decision context is unambiguous.

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