Skip to main content
Glama

Get calendar references

get_calendar_refs
Read-onlyIdempotent

The exact stdlib expressions to paste into rules.js for each calendar, e.g. accounts.work.calendar("Program 2026"). holidays: true marks a public holiday calendar: list it in daysOff (not calendars) to close those days.

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations cover the safety profile (readOnly, idempotent, non-destructive, closed-world), so the bar is lower. The description adds real behavioral context beyond that: the return is copy-pasteable expressions keyed per calendar, and the 'holidays: true' calendars must be placed in daysOff rather than calendars, which is a non-obvious semantic rule.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

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

Two dense sentences with the core purpose front-loaded and the holidays caveat following. No filler, though the holidays sentence packs two instructions that could be split for readability.

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 parameters and no output schema, the description is the only guide to the return value, and it does describe the content (expressions per calendar) and a key edge case. It could say whether the result is a list or a map keyed by calendar name, but it is sufficient to call and use correctly.

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?

The tool takes zero parameters, so the schema has nothing to document and the baseline for this dimension is 4. There is no parameter syntax the description needs to compensate for.

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?

States a specific resource and the concrete output form: stdlib expressions for rules.js, one per calendar, with an inline example. This is clear enough to distinguish it from list_calendars, though it never names that sibling or explicitly contrasts the two.

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 through the destination of the output (rules.js) and the holidays/daysOff rule, which tells the agent how to act on holiday calendars. However, there is no explicit when-to-use-vs-list_calendars guidance or stated prerequisites.

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