Skip to main content
Glama

Set travel schedules

set_travel_schedules
DestructiveIdempotent

Replace the list of travel periods (time zone plus start and end). Include the existing ones to keep (ids from get_travel_schedules).

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": {
      "travelSchedules": "<travelSchedules>"
    },
    "name": "set_travel_schedules"
  }
}

Input Schema

NameRequiredDescriptionDefault
travelSchedulesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and idempotentHint=true, so the safety profile is known. The description earns credit by explaining the concrete destructive mechanism — the whole list is replaced, so anything omitted is dropped — which is the behavior an agent most needs to avoid data loss. It leaves out error behavior for unknown ids and any permission requirements.

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?

Two short sentences with the replacement semantics front-loaded and the 'keep existing' caveat immediately after. No filler, no restatement of the title beyond what is needed.

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 single-parameter, destructive bulk-replace tool with no output schema, the description covers the two things that matter: replacement semantics and id provenance. It could add a note on what the call returns or how invalid time zones are handled, but nothing essential for invoking it correctly is missing.

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?

Top-level schema coverage is 0%, so the description must carry weight; it does by defining the single parameter as a list of travel periods keyed on time zone plus start and end. Most importantly it states where the 'id' field's values come from (get_travel_schedules), which the schema never says. Nested field meaning (ISO dates, IANA zone, open-ended endDate) is already in the schema.

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 ('Replace') and resource ('the list of travel periods'), and parenthetically defines what a period is (time zone plus start and end). It also implicitly separates itself from the read-side sibling by naming get_travel_schedules as the id source, so an agent can pick between them without opening either 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?

It gives the key operational rule for a full-replacement tool: existing entries must be re-included to be kept, with ids sourced from get_travel_schedules. That is a concrete read-modify-write workflow. It stops short of explicit exclusions (e.g. when to prefer a single-item edit or what happens to entries omitted), so it is clear context rather than full when/when-not guidance.

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