Skip to main content
Glama

Apply a planned booking hours change

apply_booking_hours_change
Destructive

Save the exact change returned by plan_booking_hours_change. Single-use token. Refused, saving nothing, if the hours changed since it was planned.

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": {
      "change_token": "<change_token>"
    },
    "name": "apply_booking_hours_change"
  }
}

Input Schema

NameRequiredDescriptionDefault
change_tokenYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the write/risk profile is known. The description adds genuinely new behavioral detail: the token is single-use, and a stale read causes an atomic refusal that saves nothing — important context an agent cannot infer from annotations. It does not say what existing hours data is replaced or whether a retry requires re-planning.

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 short sentences, front-loaded with the action and its source, then token semantics, then the failure mode. Every clause carries distinct information with no filler.

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 one-parameter mutation with annotations covering the safety profile and no output schema, the description covers source of input, single-use lifecycle, and the refusal condition. The main remaining gap is the effect on existing booking-hours data and the post-refusal recovery step.

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 0% for the single change_token parameter, so the description must compensate. It does reasonably well: the token is the exact object returned by plan_booking_hours_change, and it is single-use — both facts are absent from the schema. It omits the token format or lifetime.

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 (save/apply) and resource (the change returned by plan_booking_hours_change), and explicitly names the sibling that produces its input. An agent can immediately tell this apart from plan_booking_hours_change and get_booking_hours 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?

"Save the exact change returned by plan_booking_hours_change" establishes the required workflow order: plan first, then apply the returned change. The staleness refusal condition further constrains legitimate usage. It stops short of naming an explicit when-not or pointing at a recovery path (re-plan) after refusal.

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