Skip to main content
Glama

Export entries to CSV

export_csv

Call this tool to export the timesheet to a CSV file (excel-friendly) you can hand to a bookkeeper: one row per entry with hours, billable, rate, currency and amount. Returns the file path written.

Input Schema

NameRequiredDescriptionDefault
toNoISO date/time upper bound. On the free tier the export is clamped to the last 7 days; Pro exports the full history.
fromNoISO date/time lower bound. On the free tier the export is clamped to the last 7 days; Pro exports the full history.
pathNoTarget file path; a relative path resolves against the working directory. Defaults to a timestamped file in the local data directory, and the full path is returned.
projectNoOptional project filter

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / additionalProperties
      Removed value: -false
  2. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare this is non-read-only, non-destructive, non-idempotent, so the write nature is known; the description usefully adds that it returns the written file path and what the output contains. It omits meaningful behavior for a file-writing tool: what happens if `path` already exists (overwrite?), whether directories are created, and the free-tier clamping is only in the schema, not the description.

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?

A single well-formed sentence that front-loads the action and then the output shape and return value. Nothing is redundant, though the parenthetical '(excel-friendly)' and the bookkeeper clause could be tightened.

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?

No output schema exists, and the description correctly covers the return value (the file path written) and the row-level contents, which is what an agent needs to relay results. The remaining gap is side-effect behavior on an existing `path`, which matters for a file writer.

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%, including the free-tier/Pro clamping on `from`/`to` and the default-path behavior for `path`, so the schema carries parameter meaning. The description adds nothing about parameter behavior beyond noting the returned path, which is the expected baseline.

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 verb and resource ('export the timesheet to a CSV file') plus the exact row and column shape (one row per entry with hours, billable, rate, currency, amount). It never names the nearby siblings like `report` or `invoice_summary`, so the agent must infer the distinction from the name alone.

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?

Gives a concrete intended use case — a file 'you can hand to a bookkeeper' — which tells the agent this is a human-facing file export rather than an in-chat summary. It stops short of explicit when-not conditions or naming `report`/`invoice_summary` as the alternatives.

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.