Skip to main content
Glama

The Good Life

Bekräfta bokning

bekrafta_bokning
Idempotent

Genomför ett bokningsförslag som Otto lämnat (forslag_id från fraga_otto, sort 'ny bokning'). Avsett för när användaren uttryckligen har godkänt just det förslaget. Skapar en riktig, bindande beställning hos The Good Life. Ingen betalning tas här. 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_bokning"
  }
}

Input Schema

NameRequiredDescriptionDefault
forslag_idYesforslag_id från fraga_otto.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Adds substantial behavior beyond the annotations: a real, binding order is created with the external party The Good Life, no payment is taken here, and the return value is framed as Otto's confirmation to the user. This tells the agent the action has open-world consequences even though destructiveHint is false, which is exactly the context annotations cannot 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?

Five short sentences, front-loaded with the action and its source, then the approval precondition, then the side effect and payment note. Nothing is repeated from the schema or title and there is no filler.

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 mutating, open-world booking tool with a single required parameter and no output schema, the description covers everything an agent needs: where the id comes from, the approval condition, that the order is binding, that no payment occurs, and what the response represents.

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 100% and the single parameter is documented as coming from fraga_otto, so the schema carries the baseline. The description adds a real constraint the schema lacks: the id must refer to a proposal of type 'ny bokning', which prevents passing an id from a change proposal.

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 object: it executes ("Genomför") a booking proposal from Otto and turns it into a real, binding order. The qualifier "sort 'ny bokning'" distinguishes this from the sibling confirm-change flow (bekrafta_andring), so an agent can route correctly without opening another 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?

Gives an explicit precondition: use only when the user has explicitly approved that specific proposal, and the id must come from fraga_otto with type 'ny bokning'. It does not spell out a when-not case or name bekrafta_andring as the path for change proposals, so exclusion is implied rather than stated.

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