Skip to main content
Glama

get_bond_analytics

Read-onlyIdempotent

Read available yield, duration and spread analytics for an observation date, or the latest available observation.

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": {
      "bond_id": "<bond_id>"
    },
    "name": "get_bond_analytics"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNo
bond_idYesExact 9-character CUSIP or 12-character ISIN.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint, so the safety profile is covered. The description adds relevant behavioral context by signaling that analytics are "available" ones (data may be missing for a given date) and that a latest-observation fallback exists. It does not say what happens when no observation exists or how missing metrics are represented.

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 carries purpose, scope, and the optional-date behavior with no filler. It is efficient, though the slightly hedged phrase "available ... analytics" could be sharpened.

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?

For a simple two-parameter read tool this covers what the tool does and how the date behaves. With no output schema present, the agent gets only a high-level hint of return values (yield, duration, spread) and no indication of the response shape or how absent metrics appear.

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 coverage is 50%: bond_id is documented (9-char CUSIP / 12-char ISIN) but date has no schema description. The description compensates by explaining date semantics as an observation date with a latest-available fallback, which is meaningful added value beyond the schema's pattern and null default.

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?

States a specific verb (read) and precisely names the returned content: yield, duration, and spread analytics for a bond observation date. It is distinguishable from get_bond and get_bond_cashflows, but the broad mention of "spread analytics" overlaps with get_bond_zspread and get_bond_swap_zspread without acknowledging them.

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

Usage Guidelines3/5

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

The clause "or the latest available observation" implies the date is optional and defaults to the most recent data, which is useful usage context. However, there is no explicit statement of when to choose this tool over the z-spread or swap-z-spread siblings, leaving the agent to infer the boundary.

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