Skip to main content
Glama

Bilkalkylen

Genomför godkänd åtgärd

confirm_action
Idempotent

Kräver inloggning. Steg 2 av 2: utför en åtgärd från save_profile/create_watch. Anropa ENDAST efter att användaren uttryckligen sagt ja till sammanfattningen, med user_confirmed=true. Bekräftelse-id gäller 10 minuter och en gång.

Input Schema

NameRequiredDescriptionDefault
bekraftelseIdYes
user_confirmedYestrue endast om användaren uttryckligen godkänt

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?

Adds substantial context beyond the annotations: it requires login, describes the two-step confirmation workflow, and discloses that the confirmation ID expires in 10 minutes and is single-use — critical for retry behaviour, and it complements rather than repeats the idempotentHint/destructiveHint data. It stops short of saying what error surfaces on an expired or already-consumed ID.

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 compact clauses, each carrying a distinct operational fact (auth, workflow stage, hard precondition, token lifetime), with the invocation constraint front-loaded. No repetition of the schema or title.

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 commit tool with annotations and no output schema, nearly everything needed to call it correctly is present: prerequisites, the flag requirement, and the token's lifetime and singularity. Only the failure mode after expiry/consumption is left unexplained.

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 only 50%, and bekraftelseId has no schema description at all; the description compensates by explaining that the ID is a time-limited (10 min), single-use confirmation token rather than an arbitrary identifier. user_confirmed is reinforced with 'endast om användaren uttryckligen godkänt' in both the schema and the text.

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 role: step 2 of 2 that executes a pending action originating from save_profile/create_watch. The agent can immediately distinguish it from save_profile and create_watch (which produce the action) and from unrelated sibling tools like find_car or explain_costs.

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 an explicit precondition ('Anropa ENDAST efter att användaren uttryckligen sagt ja till sammanfattningen') plus the required flag (user_confirmed=true), which functions as both a when-to-use rule and an exclusion for premature calls. The 'Steg 2 av 2' framing implicitly names the alternative: use save_profile/create_watch first.

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