Skip to main content
Glama

Summarize a day or a week

job_card_summary

Hours and value for a day or a week: the job cards touched, the hours per worker, and the labor, materials and total value, kept per currency. A week runs Monday to Sunday. Touched means a labor or material entry dated inside the window.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateNoA date inside the window, YYYY-MM-DD. Default today
spanNoday (default) is the date itself; week is the Monday to Sunday containing it

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

With all annotation hints set to false, the description carries the burden of explaining behavior. It meaningfully adds the 'Touched means a labor or material entry dated inside the window' rule and the Monday-to-Sunday week definition, which go beyond the schema. It does not explicitly claim read-only behavior, but the summary intent makes mutation unlikely.

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 with no filler. The core summary output is front-loaded, and the additional sentences define the only genuinely ambiguous terms: the week boundary and the word 'touched'. Every sentence earns its place.

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?

There is no output schema, so the description listing the return categories (job cards touched, hours per worker, labor/materials/total value per currency) is important and largely sufficient. It stops short of specifying exact response structure or edge cases like empty windows, but an agent can select and call the tool confidently.

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?

Schema description coverage is 100%, so the baseline is 3. The description adds extra semantics beyond the schema by explaining that a week runs Monday to Sunday and by defining what counts as a touched job card. This helps an agent correctly interpret the date and span parameters.

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?

The description names a specific verb and resource: summarize job cards for a day or weekcars, and clearly lists the output dimensions: touched job cards, hours per worker, and labor/materials/total value by currency. This differentiates it from sibling lookup tools like job_card_get and job_card_list by its aggregate nature.

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 intended use is implied: use this when you need hourly or monetary totals for a day or week. It also clarifies the date-window semantics, including that a week is Monday-to-Sunday. However, it never explicitly states when not to use it or points to alternatives such as job_card_list for raw itemized data.

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.