Skip to main content
Glama

Pre-flight-size a simulation run

estimate
Read-only

Pre-flight-sizes a graph without running it: estimated peak memory, engine complexity, which tier (small/large) it would run as, and the credit cost. Use this when you want to know what a run will cost or how heavy it is before committing to it, especially for a large or unfamiliar graph. Free; no credits debited. Example: {"graph":{"root_nodes":[{"id":"root","distribution_type":"normal","distribution_params":{"mean":100,"std":15}}],"calc_nodes":[{"id":"out","formula":"{e1}"}],"edges":[{"id":"e1","source":"root","target":"out"}],"run_params":{"trials":1000,"time_periods":12}}}

Input Schema

NameRequiredDescriptionDefault
graphYesThe graph to size.
api_keyNoOptional API key (estimation is free).

Output Schema

NameRequiredDescriptionDefault
tierYesThe tier this run would execute as.
trialsYes
edge_countYes
node_countYes
credit_costYesCredits an authenticated run would cost.
time_periodsYes
graph_complexityYesEngine complexity score.
estimated_memory_mbYesEstimated peak RSS increase, MB.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is partly covered. The description adds meaningful context the annotations cannot express: it is free and no credits are debited, which is exactly the fact an agent needs before deciding to call it.

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 the capability and its outputs, then the usage condition, then the free/no-credit note. The trailing example is long but earns its place by making the nested graph shape concrete; nothing else is padding.

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 two-parameter read-only tool with a full output schema, the description covers what it returns at a high level, when to reach for it, and its cost profile. Nothing an agent needs to call it correctly is missing.

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 both parameters and the whole graph shape are already documented in structured fields. The worked JSON example is a helpful illustration of graph structure, but it mostly restates what the schema already defines, so the 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 ('Pre-flight-sizes') and resource ('a graph'), and enumerates the concrete outputs: peak memory, engine complexity, tier, credit cost. It also draws the explicit contrast with run_simulation by saying 'without running it', so the agent can tell this apart from its heavier sibling.

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 a clear when: 'when you want to know what a run will cost or how heavy it is before committing', with a qualifier for large or unfamiliar graphs. It does not explicitly name alternatives such as validate_graph or run_simulation, so the routing is implied rather than spelled out.

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