Skip to main content
Glama

mechacut

date_window

Clauses give intervals, tools give points: 'not less than 180 nor more than 270 days before X' is a WINDOW, and every date calculator so far answered one bound. You hand event, direction (before|after), min_days, max_days; you get earliest, latest, span_days, bounds inclusive, and the meaning sentence. Inverted bounds are REFUSED named (min_above_max) — we do not silently sort a contract; equal bounds are a single-day window, not an error. Strict ISO event only; dates as arguments, never the wall clock. Free.

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": {
      "event": "<event>",
      "direction": "<direction>",
      "min_days": "<min_days>",
      "max_days": "<max_days>"
    },
    "name": "date_window"
  }
}

Input Schema

NameRequiredDescriptionDefault
eventYes
max_daysYes
min_daysYes
directionYes

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?

With no annotations, the description carries the full burden and does well: it discloses that inverted bounds are refused by name (min_above_max) rather than sorted, that equal bounds are a valid single-day window, that input must be strict ISO, that the wall clock is never consulted, and that the tool is cost-free. Gaps remain on error shape for malformed ISO input and on how timezone-bearing dates are treated.

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?

The contract-critical facts (inputs, outputs, refusal rule, equal-bounds rule) are front-loaded and packed into a few sentences. Some rhetorical framing ('Clauses give intervals, tools give points', 'we do not silently sort a contract') costs tokens but does reinforce the distinguishing behavior, and the trailing 'Free.' is terse but informative.

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 four-parameter tool with no output schema and no annotations, the description covers inputs, return fields, boundary semantics, and failure mode, which is close to what an agent needs. Remaining omissions are the error format for invalid ISO events and the timezone/precision assumptions of the returned dates.

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%, so the description must supply all parameter meaning and it largely does: event is a strict ISO date, direction takes before|after, and min_days/max_days define the inclusive window with min_above_max rejected. It does not clarify whether zero or negative day counts are accepted, which is the one semantic hole.

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?

The description names the concrete inputs (event, direction, min_days, max_days) and outputs (earliest, latest, span_days, inclusive bounds, meaning sentence), so the verb-and-resource is unambiguous. It also draws a contrast with point-based date calculators ('every date calculator so far answered one bound'), which helps separate it from siblings like date_calc without naming them exactly.

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?

It gives a clear triggering context — a clause phrased as 'not less than 180 nor more than 270 days before X' — and implicitly frames alternatives as point calculators. It stops short of naming a specific sibling to use instead when only one bound is needed, so the routing guidance is clear but not exhaustive.

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.