Skip to main content
Glama

settlement_date

PAID ($0.05). Settlement/value date: the date n business days after a trade date, computed on the INTERSECTION of the calendars you name, with a per-day trail showing every skipped day and why, on which calendar. Supply business_days for a cycle you are trading under, or market + instrument_class to have a settlement cycle applied that we cite to its primary source (e.g. US equities T+1 under 17 CFR 240.15c6-1(a); UK gilts T+1 by DMO convention, which is NOT the T+2 equity cycle; Japan equities T+2 but JGBs T+1). Calendars are NATIONAL statutory holiday calendars with researched statutory weekend rules (Israel Saturday-only, Gulf Friday+Saturday, India Sundays plus the 2nd and 4th Saturday), NOT CSD or exchange calendars — each response states the basis and any known divergence. Use 'eu.t2' for the euro cash leg. We refuse FREE rather than guess: beyond published calendar coverage, no cited cycle for the instrument (government bonds never inherit an equity cycle), a cycle not in force on the trade date, or FX spot value dates. Free companion: GET /settlement-conventions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
marketNoISO country of the market whose cited cycle should apply (with instrument_class)
api_keyNoAPI key (bypasses x402; metered for invoicing)
calendarsYesCalendar ids to intersect: two-letter ISO country codes, plus 'eu.t2' for the euro cash leg
trade_dateYesTrade/reference date, YYYY-MM-DD. Day 0: never counted, never rolled.
business_daysNoThe offset you are trading under (T+n)
instrument_classNoInstrument class — a government bond never inherits an equity cycle

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations provided, the description carries full behavioral burden. It discloses that calendars are national statutory holiday calendars (not CSD/exchange), that the tool provides a per-day trail, and that it refuses rather than guessing. It also mentions pricing ($0.05). These details go beyond basic expectations, though output format specifics are missing.

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 description is comprehensive and front-loaded with the core purpose. While it is relatively long, every sentence adds valuable information. A minor improvement would be to break it into clearer sections for readability. Overall, it is appropriately detailed for the tool's complexity.

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?

Given the tool's complexity (6 parameters, no output schema), the description explains inputs, behavior, constraints, and exceptions well. It mentions a per-day trail but does not fully specify the output format. The mention of a free companion tool (GET /settlement-conventions) adds context. Slightly more detail on output would raise the score.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3. The description adds substantial meaning beyond the schema: it explains how calendars are used (intersection), the difference between business_days and market+instrument_class, the special calendar 'eu.t2', the enum values for instrument_class, and the citation of primary sources for settlement cycles. This significantly enhances parameter understanding.

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 explicitly states the tool computes a settlement date n business days after a trade date using calendar intersection, with a daily trail. It clearly identifies the resource (settlement date) and action (compute), and distinguishes from sibling tools like count_working_days by focusing on settlement date specifics.

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?

The description provides clear guidance on when to use the tool, such as using 'eu.t2' for euro cash leg and specifying business_days or market+instrument_class. It also explains when the tool refuses (e.g., no cited cycle). However, it does not explicitly contrast with sibling tools like count_working_days or get_public_holidays, which would help an agent decide between them.

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.

TDQS

A4.2/5.0
Disambiguation5/5

Each tool targets a distinct operation (check, compute, count, get, list) and a distinct resource (minimum wage, income tax, VAT, working days, holidays, series, settlement). The series tools are clearly differentiated by granularity (list, current, history, snapshot), and compute/check tools apply calculations rather than just returning values.

Naming Consistency4/5

Most tools follow a consistent verb_noun pattern (check_, compute_, count_, get_, list_), but settlement_date is a noun phrase without a verb, and the verbs vary (check, compute, count, get, list) rather than using a single style. Still, the names are descriptive and predictable.

Tool Count5/5

10 tools is within the ideal 3-15 range, and each tool earns its place by covering a distinct facet of statutory reference data: taxes, compliance checks, calendars, series, and settlement. There is no bloat or sense of missing essential tools.

Completeness4/5

The surface provides strong coverage: compliance checks (minimum wage, taxes), calendar operations (holidays, working days), series catalog/current/history/snapshot, and settlement dates. Minor gaps include no direct tool for settlement conventions (mentioned only as an external endpoint) and no standalone tax bracket getter, but get_series likely covers some rates and users can infer brackets from compute_income_tax.

Resources