Skip to main content
Glama

Save Post-Processing Code

save_postprocessing_code
DestructiveIdempotent

Save Airparser post-processing Python code for an inbox, overwriting any code saved before, without changing whether it is enabled.

Input Schema

NameRequiredDescriptionDefault
codeYesPython function body to save inside the restricted Airparser post-processing wrapper.
inbox_idYesAirparser inbox id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, but the description adds meaningful specifics: the overwrite is scoped to code only and does not alter the enabled state. It stops short of noting validation behavior or what happens on failure, so a 4 rather than 5.

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?

A single tightly written sentence with the destructive overwrite behavior front-loaded and zero filler. Every clause earns its place.

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

Completeness4/5

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

For a 2-parameter mutation with rich annotations and no output schema, the description covers the essential semantics: what is written, what is replaced, and what is preserved. Missing only error/validation expectations, so not quite complete at 5.

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% and the schema already explains both parameters, including the restricted wrapper context for 'code'. The description adds no syntax, format, or constraint detail beyond the schema, so baseline 3 applies.

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 ('Save') and resource ('Airparser post-processing Python code for an inbox'), plus the two key scope qualifiers: it overwrites prior code and leaves the enabled flag untouched. This cleanly separates it from get_postprocessing and set_postprocessing_enabled.

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?

The clause 'without changing whether it is enabled' implicitly routes the agent away from set_postprocessing_enabled for enable/disable operations, giving clear usage context. It does not explicitly name the alternative tool or state when-not-to-use, so it falls short of a 5.

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