Skip to main content
Glama

PoliErgaleio

save_calculation

Saves a calculator scenario to the authenticated user's stored history. Use when the user asks to save, keep or remember a scenario. Stores the inputs unencrypted (with server-computed results) so list/load can return them later.

Input Schema

NameRequiredDescriptionDefault
nameNoDisplay name for the saved scenario.
inputsYesTool-style inputs for the matching calculator (same shape its calculator tool accepts).
calculationTypeYesCalculator type to save under.

Output Schema

NameRequiredDescriptionDefault
idNo
nameNo
lockedNo
seriesNo
createdAtNo
updatedAtNo
assumptionsNo
calculationTypeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the full behavioral burden. It usefully discloses that inputs are stored unencrypted, that server-computed results are included, and that saved data is later retrievable via list/load. It omits details like overwrite behavior for duplicate names or authentication/error conditions.

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?

Three tight sentences, each earning its place: purpose, when to use, and storage behavior. The key constraint (unencrypted storage) is front-loaded after the core purpose.

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?

Given a full output schema and 100% parameter documentation, the description covers the essential behavioral traits. It could be more complete by mentioning handling of existing scenarios (overwrite vs. error) and pointing to 'update_calculation' as the alternative for saved scenarios.

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 description coverage is 100%, so the schema already documents all three parameters, including the calculationType enum and nested inputs. The description adds no parameter-specific meaning beyond what the schema provides, making the baseline 3 appropriate.

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?

The description states a specific verb and resource ('Saves a calculator scenario to the authenticated user's stored history'), making the operation clear. It does not explicitly differentiate itself from the sibling 'update_calculation' or 'list_saved_calculations', so it stops short of a 5.

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?

It gives a clear triggering context: 'Use when the user asks to save, keep or remember a scenario.' However, it offers no exclusions or alternative routing, such as using 'update_calculation' for an already-saved scenario, which would be needed for 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