Skip to main content
Glama

export_times_and_leaves

Read-only

Download a Gryzzly export of declared time and leave periods for a date range in CSV or XLSX, optionally saving to a server path. Read-only.

Instructions

Download Gryzzly's combined export of declared time and leave periods over a date range, as CSV or XLSX, optionally saved to a path on the server's machine. Prefer list_time_entries or timesheet for reading time: this endpoint authenticates a browser session upstream, so with an API key it currently fails with an explanation rather than a file. Read-only.

Input Schema

NameRequiredDescriptionDefault
toNoLast day of the period.
fromNoFirst day of the period.
formatNoThe file format. Defaults to `csv`.
save_toNoA path on the machine running this server to write the file to.

Output Schema

NameRequiredDescriptionDefault
noteNoSet when the file was too large to inline.
textNoThe file itself, when it is text and small enough to read here.
bytesYesHow many bytes came back.
saved_toNoWhere the file was written, when `save_to` was given.
content_typeYesThe file's media type, as Gryzzly labelled it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only declare readOnlyHint and openWorldHint; the description adds the decisive behavioral fact that the endpoint requires an upstream browser session and currently fails with an explanation (not a file) under API-key auth. That auth-failure mode is exactly the kind of context annotations cannot express.

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 sentences, front-loaded with what the tool produces, followed by the alternative-routing caveat and a one-word safety note. No filler; every sentence carries information the agent needs before invoking.

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?

An output schema exists, so return-value explanation is unnecessary; the description still covers the failure mode the output schema cannot. For a 4-param, zero-required export tool, nothing an agent needs to decide or call is missing.

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%, so from/to/format/save_to are already documented in the schema. The description restates the date range, format choices and save path without adding syntax, defaults beyond 'csv', or path-format detail, so baseline 3 applies.

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 (Download/export) and resource (declared time and leave periods) with scope (date range), output forms (CSV/XLSX), and an optional server-side save path. It is clearly distinguishable from export_projects and from list_time_entries/timesheet.

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

Usage Guidelines5/5

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

Explicitly names the preferred alternatives ('Prefer list_time_entries or timesheet for reading time') and gives the condition under which this tool is the wrong choice (API-key auth fails against the upstream browser session). This is a rare, fully actionable routing instruction.

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