Skip to main content
Glama

Closed days

list_closures
Read-only

Closed days in a window (default from today), for a branch or the whole business, with their reasons.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_closures"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoTo YYYY-MM-DD, in the business's own time zone.
fromNoFrom YYYY-MM-DD, in the business's own time zone.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/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 two useful facts: an omitted start defaults to today, and reasons are included in results. It does not describe ordering, whether past closures are excluded, or volume, so a middling score fits.

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?

A single front-loaded sentence that packs scope, default, filtering and returned fields without padding. Efficient, though the 'branch or the whole business' clause turns out to be the least reliable part of the sentence.

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?

No output schema exists, and the description does disclose that reasons are part of the return, which is helpful. However it advertises branch-scoped results even though the schema exposes only 'from' and 'to' with additionalProperties=false, leaving the agent unsure how branch filtering is actually selected.

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 coverage is 100% and both parameters are documented with pattern and time-zone notes, so the schema carries the load. The description contributes one genuinely additive detail — that the window defaults from today, implying 'from' may be omitted. Not enough to exceed the baseline.

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?

Names a specific resource (closed days) with scope qualifiers: a date window, defaulting from today, and per-branch versus whole business, plus the fact that reasons are returned. An agent can tell this is the read-side counterpart to add_closure/remove_closure. It stops short of naming a sibling explicitly, which keeps it at 4 rather than 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit when-to-use framing, no statement of when-not to use it versus add_closure or remove_closure, and no note on how to obtain branch-scoped results. The 'default from today' clause hints at a default window but is a behavioral detail rather than usage guidance.

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