Skip to main content
Glama

get_bond_zspread

Read-onlyIdempotent

Read government-curve Z-spread and supporting API data. This is distinct from a matched-government-bond spread or swap Z-spread.

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_zspread"
  }
}

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

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, openWorldHint=true, and destructiveHint=false, so the safety profile is covered. The description adds the important behavioral context that the spread is calculated against a government curve rather than a matched bond or swap curve. It does not disclose data sources, latency, authentication requirements, units, or how the optional date affects the calculation, so it adds only moderate value beyond annotations.

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

Conciseness5/5

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

The description is two short sentences with no wasted wording. The primary purpose is front-loaded, and the second sentence immediately supplies the most important disambiguation. It is appropriately sized for a simple two-parameter read tool.

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?

This is a simple read tool with two parameters and no output schema, and annotations cover the safety profile. However, because there is no output schema, the description should say more about what the returned Z-spread and 'supporting API data' include, such as units or date behavior. It is adequate but leaves meaningful gaps for a financial analytics call.

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

Parameters2/5

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

Schema coverage is 50%: bond_id is documented in the schema as an exact 9-character CUSIP or 12-character ISIN, but the date parameter has no description in either the schema or the tool description. The description does not clarify whether date is an as-of date, a settlement date, or how the default null value behaves. With half the parameters undocumented, the description fails to compensate for the coverage gap.

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?

The description states a specific verb and resource: reading a government-curve Z-spread plus supporting API data. It also distinguishes the metric from a matched-government-bond spread and a swap Z-spread, which maps directly to the sibling get_bond_swap_zspread. The phrase 'supporting API data' is vague, keeping it short of a 5.

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 description gives useful exclusions by saying this is not a matched-government-bond spread or swap Z-spread, implying when another tool or metric is appropriate. However, it does not state positive conditions for when to choose this tool, nor does it name the alternative tool explicitly. Usage is implied rather than fully specified.

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