Skip to main content
Glama

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/request_offer. 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.

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": {
      "bekraftelseId": "<bekraftelseId>",
      "user_confirmed": "<user_confirmed>"
    },
    "name": "confirm_action"
  }
}

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?

Beyond the annotations it adds meaningful behavioral context: login is required, this is a two-step flow, and the confirmation ID expires after 10 minutes and is single-use. However, the 'valid once' wording sits in tension with the idempotentHint=true annotation, leaving the retry behavior slightly ambiguous, so it is not a clean 5.

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 tightly packed sentences, all earning their place, with the login prerequisite front-loaded and the critical 'ENASTE' guardrail emphasized. No waste or redundancy.

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 mutating confirmation tool with no output schema, it covers the essential facts: prerequisite, triggering condition, parameter meaning, and expiry. The only gap is that it does not clarify what happens on a retry after expiry or a second call, which would close the idempotency ambiguity.

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 50% and bekraftelseId has no schema description, but the description compensates by explaining its validity window and single-use nature, and by reinforcing that user_confirmed must reflect explicit user consent. This adds real meaning beyond the schema, though it does not fully document the ID's origin.

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?

The description gives a specific verb ('utför en åtgärd'), positions the tool explicitly as 'Steg 2 av 2', and names exactly which underlying actions it executes (save_profile/create_watch/request_offer). An agent can distinguish this confirmation wrapper from those sibling action tools without opening any schema.

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?

It states an explicit precondition ('Anropa ENDAST efter att användaren uttryckligen sagt ja till sammanfattningen') plus the required flag (user_confirmed=true), and it names the alternative tools it wraps. When-to-call is fully specified with no inference left to the agent.

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