Skip to main content
Glama

The Good Life

Bekräfta ändring eller avbokning

bekrafta_andring
DestructiveIdempotent

Genomför ett förslag från Otto om att flytta eller avboka en befintlig bokning (forslag_id från fraga_otto, sort 'ändrad tid' eller 'avbokning'). Avsett för när användaren uttryckligen har godkänt förslaget. Går inte att ångra härifrån. Svaret är Ottos bekräftelse till användaren.

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": {
      "forslag_id": "<forslag_id>"
    },
    "name": "bekrafta_andring"
  }
}

Input Schema

NameRequiredDescriptionDefault
forslag_idYesforslag_id från fraga_otto.

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 destructiveHint=true, idempotentHint=true and readOnlyHint=false, so the safety profile is covered. The description adds real value on top: the irreversibility caveat ("Går inte att ångra härifrån"), the dependency on a prior fraga_otto proposal, and what the response represents (Otto's confirmation to the user). Nothing here conflicts with 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four short sentences, front-loaded with the action, then precondition, then irreversibility, then response semantics. No filler and no repetition of the annotations.

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?

For a one-parameter destructive mutation, the description covers the prerequisite chain (proposal must exist), the approval condition, the irreversibility, and what the caller receives. With annotations and full schema coverage in place and no output schema needed, nothing an agent requires 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 coverage is 100% and the single parameter already carries a description pointing at fraga_otto. The description only restates that origin and adds the two proposal kinds, so it adds marginal meaning beyond the schema — baseline 3 is correct.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb ("Genomför") and a precise resource (moving or cancelling an existing booking), plus the origin of the proposal (forslag_id från fraga_otto) and the proposal kinds ('ändrad tid' / 'avbokning'). It is distinguishable from the sibling bekrafta_bokning by the 'befintlig bokning' framing, though it never names that sibling explicitly.

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?

It states a clear precondition — use only when the user has explicitly approved the proposal — which is exactly the guidance an agent needs before firing a destructive action. It does not name a when-not case or a named alternative, so it stops short of a 5.

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