Skip to main content
Glama

Period labels and dates

list_periods
Read-onlyIdempotent

Use to turn a period label (2026-Q3, 2026-M10, 2026-W41) into exact start and end dates, or to list the periods available in a date range before asking get_pay or get_postings for a period. Returns one row per period with its label, start date, end date and whether it is complete. Period labels and exact dates (weeks, 4-week months, 13-week quarters, 52-week years) and the last complete week. Free.

Input Schema

NameRequiredDescriptionDefault
toNoLatest date to include, YYYY-MM-DD.
fromNoEarliest date to include, YYYY-MM-DD.
typeYesPeriod length: week, 4-week month, 13-week quarter or 52-week year.

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 and closed-world, so the safety profile is covered. The description adds what annotations cannot: the return shape (one row per period with label, start, end, complete flag) and that the call is 'Free', which matters for an agent budgeting calls. It does not cover ordering of the returned rows or how 'complete' is determined for the current period.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The first two sentences are front-loaded and earn their place. The third sentence is a broken fragment — 'Period labels and exact dates (weeks, 4-week months...) and the last complete week' — that has no verb, repeats the parenthetical already given, and dangles 'the last complete week' without explaining it.

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?

With no output schema, the description carries the burden of describing the return value and does so (label, start, end, complete flag). For a 3-parameter read-only lookup, that is nearly sufficient; the unexplained 'last complete week' phrase is the only thing an agent might need clarified.

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 the schema already documents from, to and the type enum fully. The description adds the label formats associated with each period length (4-week month, 13-week quarter, 52-week year), but says nothing new about from/to semantics or what happens when they are omitted. 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 and resource twice over: resolve a period label (2026-Q3, 2026-M10, 2026-W41) into exact start/end dates, or enumerate the periods inside a date range. The concrete label examples and the 'returns one row per period' clause make it unmistakable against siblings like get_pay, which it explicitly positions itself in front of.

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?

Says to use it 'before asking get_pay or get_postings for a period', which names the alternatives and the sequencing that selects this tool. It does not state a when-not case (e.g. what to do if you already know exact dates), so it stops short of full routing 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