Skip to main content
Glama

get_calendar

Read-onlyIdempotent

Fetch a single calendar by ID to retrieve its name, timezone, agent status, and default reminders for scheduling checks; agent keys can only read calendars owned by their agent.

Instructions

Fetch a single calendar by ID, including its name, timezone, agent status, and default reminders. Agent keys may only read calendars owned by their agent.

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": {
      "calendar_id": "<calendar_id>"
    },
    "name": "get_calendar"
  }
}

Input Schema

NameRequiredDescriptionDefault
calendar_idYesCalendar ID to fetch

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv1.8.4
    • addedInput schema / properties / calendar_id / maxLength
      Added value: +128
    • addedInput schema / properties / calendar_id / minLength
      Added value: +1
    • addedInput schema / properties / calendar_id / pattern
      Added value: +"^[A-Za-z0-9_-]*$"
  2. First observedv1.2.5

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. Beyond that, the description discloses an authorization behavior not captured anywhere in the structured fields: agent keys are restricted to calendars their agent owns. It stops short of describing what happens on a permission failure (error vs. empty result), which would have earned a 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?

Two sentences, no filler. The core action and returned fields come first, and the access restriction follows as a caveat. Every clause carries information an agent can act on.

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?

With no output schema, the description usefully enumerates the salient returned fields and covers the key access restriction, which is enough to call a simple one-parameter read tool correctly. Error and not-found behavior are the only notable omission, and those are minor for a read-only fetch.

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 description coverage is 100% for the single calendar_id parameter, and the schema already documents it as 'Calendar ID to fetch' with pattern and length constraints. The description only restates that the lookup is by ID and adds no format, source, or example guidance beyond the schema, so baseline 3 applies.

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 uses a specific verb ('Fetch') and resource ('a single calendar by ID') and enumerates the fields returned (name, timezone, agent status, default reminders), so the agent knows exactly what it gets. It distinguishes itself from list-style siblings implicitly through 'a single ... by ID', but never names get_calendar_context or any other alternative, so it stops short of full sibling differentiation.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied rather than stated: fetch a calendar when you already have its ID. The description adds a real scoping rule ('Agent keys may only read calendars owned by their agent'), which tells the agent a precondition, but it does not say when to prefer this over get_calendar_context or what to do when the ID is unknown.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.