Skip to main content
Glama

Simulate intent

stack_simulate_intent

Evaluate an Intent against a Passport without executing it. Returns whether STACK would allow the action, with denial_reasons and diagnostics when it would not. Applies the same checks as the proxy: scope, parameter constraints, accountability and plan limits. With persist=true (the default) STACK records a signed intent_simulation claim on the Passport. Simulation is not metered and contacts no upstream service.

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": {
      "passport_token": "<passport_token>",
      "intent": "<intent>"
    },
    "name": "stack_simulate_intent"
  }
}

Input Schema

NameRequiredDescriptionDefault
intentYesIntentClaim payload. Must include type=intent_claim, intent_type (http_call|skill_invocation|...), agent_id, named_intent, target, action, parameters, estimated_cost, accountability, reason, requires, user_subject, mission_ref, submitted_at.
persistNoPersist the resulting intent_simulation claim. Default true; pass false for pure what-if inspection.
passport_tokenYesPassport JWT token (same shape stack_proxy_request takes)
intent_claim_refNoPre-registered Intent claim id (pc_*) to link this simulation to.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Goes well beyond the annotations: it discloses the side effect that explains readOnlyHint=false (a signed intent_simulation claim is written to the Passport by default), enumerates the checks applied (scope, parameter constraints, accountability, plan limits), and states that calls are not metered and contact no upstream service. That is exactly the cost/side-effect/network context the annotations alone do not convey.

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?

Four tight sentences, each carrying distinct information: purpose, return/diagnostics, the check set applied, and persistence/cost behavior. The non-execution constraint is front-loaded where an agent will read it first.

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?

There is no output schema, so the description must describe returns — it does, naming allow/deny plus denial_reasons and diagnostics. Combined with the persistence, metering and network disclosures, nothing material is missing for a 4-parameter nested-payload tool.

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 passport_token, persist, intent_claim_ref and the intent payload shape. The description reinforces the persist default and its effect but adds no syntax or format detail beyond what the schema states, 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 (evaluate/simulate) and resource (an Intent against a Passport) and adds the key differentiator 'without executing it', which separates it from submit/decide-style siblings. An agent can tell what it does and what it does not do without opening the schema.

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?

Usage context is clear: dry-run pre-flight evaluation that 'applies the same checks as the proxy', plus the persist=true/false choice between recording a claim and a pure what-if. It never names an explicit alternative sibling (e.g. when to simulate vs. actually submit or decide), so it stops short of the 5 bar.

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.