Skip to main content
Glama

TimeCharm

Time and earnings report

time_report
Read-onlyIdempotent

Report how much time was tracked and how much money was earned over a period, grouped by client, project, task or day. Covers all tasks, including unfinished ones. Money is calculated at the client's hourly rate at the time of work, multiplied by the task's urgency.

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": {
      "date_from": "<date_from>",
      "date_to": "<date_to>"
    },
    "name": "time_report"
  }
}

Input Schema

NameRequiredDescriptionDefault
clientNoClient name (exact or a unique part of it)
date_toYesLast day of the period, YYYY-MM-DD, inclusive; at most one year after date_from
projectNoProject name or code (e.g. "TT")
group_byNoHow to group the totalsclient
date_fromYesFirst day of the period, YYYY-MM-DD, inclusive, in the user's time zone
tz_offset_minutesNoThe user's offset from UTC in minutes, e.g. 180 for Moscow, -300 for New York

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, so the safety bar is low, and the description adds genuinely non-obvious behavior: all tasks are included, including unfinished ones, and earnings are computed at the client's hourly rate at the time of work multiplied by task urgency. It does not cover cost/latency or behavior when no data matches, but the disclosure of the money formula is a real value-add.

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 tight sentences: purpose first, then scope of included tasks, then the money definition. No filler, nothing repetitive, and the most surprising fact (the earnings formula) is given its own sentence.

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?

For a read-only aggregate with no output schema, the description conveys the two returned measures (time and money) and the grouping dimension, which is the key shape information. A little more on the returned rows or handling of empty periods would make it complete.

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 all six parameters (including date bounds, tz_offset_minutes and the group_by enum) are already documented in the schema. The description mirrors the grouping options but adds no format or edge-case detail beyond what the schema states; 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+resource ("Report how much time was tracked and how much money was earned") with the period and the four grouping axes enumerated. This clearly separates it from the sibling list_tasks/get_task tools, which return raw task data rather than aggregated totals.

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 by the aggregation framing (grouped totals over a period), which signals it is the reporting tool rather than a task-listing tool. However, no sibling is named and there is no explicit when-not guidance, e.g. that it should not be used for per-task detail.

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