Skip to main content
Glama

finance_settlement_date

Read-only

Trade settlement date calculator — US trade settlement date for a trade date: T+1 for stocks, ETFs, options, corporate and muni bonds (T+2 before 2024-05-28, T+3 before 2017-09-05), T+1 Treasuries on the Fed calendar, FX spot T+2 (T+1 for USD/CAD). Skips weekends, NYSE holidays (incl. Good Friday) and bank holidays when the market is open (Columbus Day, Veterans Day). Params: trade_date=YYYY-MM-DD (default next trading day in New York), type=equity|etf|option|corporate-bond|muni|mutual-fund|treasury|agency-bond|fx|cash, pair=USD/CAD, days= override, record_date= returns the ex-dividend date and last day to buy. Offline. Price: $0.002 USDC (Base, via x402).

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": "finance_settlement_date"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing that the tool is offline/deterministic, that it costs $0.002 USDC on Base via x402, and exactly which calendars it skips (weekends, NYSE holidays incl. Good Friday, bank holidays when the market is open). The payment requirement in particular is a behavioral trait an agent must know before invoking.

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?

Front-loaded with the core purpose, then rules, then parameters, then cost — a sensible order with no filler sentences. It is dense to the point of being crammed into one paragraph, with heavy parenthetical nesting that makes the parameter list harder to scan than a short bulleted form would be.

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?

There is no output schema, and the description never states what the call returns — a bare date string, an object with settlement date plus calendar metadata, or something else. For a zero-parameter-schema tool whose whole value is a computed result, that return-shape gap is the main missing piece; the rest of the domain rules are covered thoroughly.

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?

The input schema declares no properties, so the description carries the full parameter burden and does so usefully: it gives the trade_date format (YYYY-MM-DD) and default, the type enum values, the pair example, and the record_date behavior. Some entries are thin — "days= override" and "record_date=" do not say the expected value type (number? boolean?) — so it stops short of a 5.

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?

Opens with a specific verb+resource ("Trade settlement date calculator — US trade settlement date for a trade date") and immediately scopes the domain to US market settlement rules. It is clearly distinguishable from siblings like time_date_math or finance_market_status because it names the exact instrument types and calendars it covers.

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?

Gives strong context for when the tool applies: per-instrument settlement conventions, historical cutovers (2024-05-28, 2017-09-05), and holiday handling. It does not explicitly name an alternative tool or state when NOT to use it (e.g., non-US markets or generic date arithmetic), which keeps it below a 5.

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