Skip to main content
Glama

Get cleaning report

endos_get_cleaning_report
Read-onlyIdempotent

Shows what Endos removed from a tool's answer before the agent got it, for one of this agent's calls (a withheld answer included), as counts by category (for example hidden instructions, secrets, tracking data or personal details), or that nothing was removed. A cleaned answer still reaches the agent, with those parts taken out and a note from Endos that carries the call id. Suited to an answer that looks shortened or changed; endos_explain_refusal covers why a call was refused or held. It never shows the removed text or the original answer, and says when it has no call with that id (unknown, expired or another agent's).

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": {
      "call_id": "<call_id>"
    },
    "name": "endos_get_cleaning_report"
  }
}

Input Schema

NameRequiredDescriptionDefault
call_idYesThe call id that Endos's answer showed for the call (refused, held, withheld or cleaned answers show one).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive, closed-world), and the description adds non-obvious behavior: it never returns the removed text or original answer, a cleaned answer still reaches the agent with a note carrying the call id, withheld answers are included, and it reports explicitly when no call exists with that id (unknown, expired, or another agent's). That is real disclosure beyond structured fields.

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?

Front-loaded with purpose, then limits, then the sibling pointer. Dense but every clause carries information; the second sentence about cleaned answers reaching the agent could be tightened, and the single-paragraph form makes the error-handling note easy to miss.

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?

With one required parameter, no output schema, and full annotation coverage, the definition still explains what the report contains (category counts or a no-removal result), what it withholds, and how missing/expired ids resolve. Nothing an agent needs to call it correctly is absent.

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

Parameters4/5

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

Schema coverage is 100% and the schema already defines call_id's shape and where it comes from. The description adds scope meaning the schema does not: the call must belong to this agent, withheld answers carry an id too, and the id appears in Endos's note on cleaned answers.

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 and resource ('Shows what Endos removed from a tool's answer ... for one of this agent's calls') and fixes the output shape as counts by category or 'nothing was removed'. It also names the boundary against endos_explain_refusal, so an agent can pick between the two without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit trigger ('Suited to an answer that looks shortened or changed') and an explicit alternative with its condition ('endos_explain_refusal covers why a call was refused or held'). Both the when and the when-not are present.

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