Skip to main content
Glama

ExportTimeSheetReportTool

Read-only

Exports a timesheet report in JSON, CSV or PDF. Filters (companies, projects, workers, date range) are scoped to the authenticated user's role.

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": {
      "account_code": "<account_code>",
      "from": "<from>",
      "to": "<to>"
    },
    "name": "ExportTimeSheetReportTool"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYesEnd date in ISO format (YYYY-MM-DD)
fromYesStart date in ISO format (YYYY-MM-DD)
typeNoReport layout: nested, by_day or summary
formatNoExport format: json, csv or pdf
company_idNoCompany database ID; omit to include all allowed companies
project_idNoProject database ID; omit to include all allowed projects
account_codeYesAccount code (e.g., "bcp", "jchsoft")

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / type / description
      Previous value: -"Report layout: nested or by_day"New value: +"Report layout: nested, by_day or summary"
    • changedInput schema / properties / type / enum
      Previous value: -[
      -  "nested",
      -  "by_day"
      -]New value: +[
      +  "nested",
      +  "by_day",
      +  "summary"
      +]
  2. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds genuinely new behavioral context beyond that: filters are silently restricted by the authenticated user's role, meaning results may be narrower than requested — a non-obvious, important caveat. It stops short of saying what the export returns (inline content vs. a downloadable file/URL).

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, front-loaded with the action and outputs, then the scoping caveat. No filler or repetition.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With 7 parameters, an unmentioned `type` layout parameter and no output schema, the description leaves the agent unsure what the call actually returns (file bytes, a URL, or inline data) and how the `type` layouts differ. For an export tool whose result shape matters to callers, that is a meaningful gap despite the strong annotation coverage.

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 every parameter including the two enums (format, type) is already documented, making 3 the baseline. The description restates formats and filter categories but names "workers" as a filter dimension even though no worker parameter exists in the schema, which adds noise rather than semantic value.

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?

Opens with a specific verb+resource ("Exports a timesheet report") and enumerates output formats, which clearly separates it from read-only siblings like GetPieceTool or ListProjectsTool. It does not, however, distinguish itself from the closely named ListTimeSheetReportOptionsTool, which an agent could easily confuse with it.

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?

The description implies the tool is for producing an export file and mentions that filters exist, but never states when to choose it over ListTimeSheetReportOptionsTool (which presumably supplies the valid filter/option values) or what prerequisites are needed. Usage must be inferred rather than read.

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