Skip to main content
Glama

rework_check

Read-only

Return visits to the same customer within N days, same trade, that aren't scheduled maintenance — reports labour + material cost of each revisit. Parameter days sets the window (default 14).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
daysNo

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?

Annotations already declare readOnlyHint=true and openWorldHint=false, and the description correctly aligns with them while adding non-obvious context: the exclusion of scheduled maintenance visits (which materially changes the result set) and the fact that per-revisit labour and material costs are returned. It stops short of describing result ordering or scale limits.

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 sentences, zero filler. The core behaviour and its exclusions come first, with the parameter detail tucked at the end as supporting information.

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, so the description must convey the return content — it does so at a summary level (cost per revisit). What the record's shape, grouping, or ordering is remains unspecified, but for a single-parameter read-only analytical query this is close to sufficient.

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 0% and the schema has no default, so the description carries the full burden for the single parameter — and it does: 'days' sets the lookback window in days with a default of 14. Only a stated valid range or unit edge cases are missing.

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 precise detection target (repeat visits to the same customer for the same trade) and two scoping constraints (within N days, excluding scheduled maintenance), plus the reported output (labour + material cost per revisit). No sibling tool overlaps with 'rework detection', so an agent can pick this without opening the schema.

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 definition — call it to find rework/return-visit cases — but there is no explicit when-to-use guidance, no when-not guidance, and no named alternative (e.g. unbilled_completed_jobs or broken_promises) that might overlap in a rework investigation. Adequate but leaves routing to inference.

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.