Skip to main content
Glama

Simulate action

simulate_action

§5 Dry-run an action WITHOUT committing it and return a preview plus ok:bool. Simulatable action_types: 'send_email'/'send_message' (compose-but-don't-send preview), 'calculation'/'code' (executed in the isolated cloud sandbox when configured), 'create_calendar_event'/'create_todo'/'set_goal' (validation-only preview). Anything else returns ok:false with simulatable:false → the caller must route it through human approval.

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": {
      "action_type": "<action_type>"
    },
    "name": "simulate_action"
  }
}

Input Schema

NameRequiredDescriptionDefault
paramsNo
action_typeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations only declare the generic profile (readOnlyHint=false, openWorldHint=true, idempotentHint=false, destructiveHint=false); the description adds real substance on top: the return contract ('preview plus ok:bool', 'simulatable:false'), sandbox execution for code/calculation, and validation-only behavior for the create types. One nuance is left unresolved: it says nothing about whether the dry-run itself has side effects or costs, which matters given readOnlyHint=false and openWorldHint=true. There is tension but no contradiction between 'dry-run' and the annotations.

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 dry-run guarantee, then a compact per-type breakdown; nearly every clause earns its place. Minor deduction for the leading '§5' section marker and the dense slash-delimited phrasing, which is terse but still parseable.

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?

No output schema exists, and the description compensates by specifying the return payload shape (preview, ok:bool, simulatable:false) and the fallback behavior. For a two-parameter tool with one required enum-like string, this is sufficient for an agent to call it correctly and interpret the result.

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 0%, so the description carries the burden, and it does the most important part by enumerating the valid action_type values and their semantics, which the bare string schema does not convey. However, the nested `params` object is never addressed — the caller must infer per-type parameter shapes entirely on their own.

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 ('Dry-run an action') plus the crucial scope qualifier 'WITHOUT committing it', which separates it from the create_* siblings like create_todo or create_calendar_event. The enumerated action_types make the boundary of applicability concrete rather than abstract.

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 explicit per-type guidance on what can be simulated and how each is handled (compose-but-don't-send, sandbox-executed, validation-only), and states the fallback path when a type is not simulatable: 'the caller must route it through human approval'. This is a genuine when-to-use/when-not-to-use rule with a named next step.

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