Skip to main content
Glama

Retract your own reported outcomes

retract_outcome
DestructiveIdempotent

Deletes outcomes you filed with report_outcome, matched by the hash of the same reporter_key (or X-AllClear-Key header). Optionally narrow to one program_id, institution or decision; with none, all of your rows go. Rows filed by other reporters, rows filed without a key and FundingOS system rows are never touched. Returns the number of rows deleted.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "retract_outcome"
  }
}

Input Schema

NameRequiredDescriptionDefault
decisionNo
program_idNo
institutionNoLender name as it appears in the directory.
reporter_keyNoThe key you reported with; or send the X-AllClear-Key header.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and readOnlyHint=false, and the description goes beyond them by enumerating exactly which rows are immune (other reporters, keyless rows, FundingOS system rows) and by stating the return value is a deleted-row count. It does not say whether deletion is reversible or requires confirmation, which is the main residual gap for a destructive tool.

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?

Four tight sentences, front-loaded with the action and its scope, then the filters, then the safety boundary, then the return value. Nothing is repeated from the schema or annotations and no sentence is filler.

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

Completeness5/5

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

For a four-parameter destructive tool with no output schema, the description covers scope, filter semantics, protected rows, and the returned value. An agent has everything needed to invoke it correctly without inspecting the schema.

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

Parameters5/5

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

Schema coverage is only 50%, but the description compensates by naming all four parameters (program_id, institution, decision, reporter_key) and explaining the critical default: with no filters, every one of your rows is deleted. It also documents the header alternative to reporter_key, which the schema does not.

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

Purpose5/5

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

States a specific verb (deletes) and resource (outcomes you filed with report_outcome), and anchors it to the sibling that created those rows. The matching mechanism (hash of reporter_key / X-AllClear-Key header) makes the scope unmistakable versus any other deletion-like operation.

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?

Clearly frames the use case (retracting your own filings) and spells out the optional narrowing filters plus the consequence of omitting them all. It stops short of advising an alternative for correction (e.g., re-reporting rather than retracting), but the counterpart tool is named so the agent can infer it.

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