Skip to main content
Glama

SSCMFI Bond Calculations

Calculate Periodic Bond Price/Yield

calculate_bond_periodic
Read-only

Calculate price, yield, and accrued interest for Periodic bonds. Powered by the Standard Securities Calculation Methods - Fixed Income (https://api.sscmfi.com).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
givenTypeYesAre you providing the clean Price or the Yield to find the other?
couponRateYesAnnual coupon rate as a percentage (e.g., 5.0 for 5%). Use 0 for zero coupon bonds.
givenValueYesThe numeric value of the Price (e.g. 98.75) or Yield (as a percent e.g. 4.25).
callScheduleNoOptional. List of discrete call dates and prices. AI Hint: The engine will automatically calculate the Yield-to-Worst using this schedule.
maturityDateYesThe date the principal is due. Required format: MM/DD/YYYY (e.g., 01/05/2030). AI: Must use leading zeros and 4-digit years. (Ensure this is in the future relative to settlement).
securityTypeYesCrucial for math accuracy. Treasury: Usually uses Actual/Actual. Corporate/Agency/Municipal: Usually uses 30/360. CD: Usually uses Actual/360.
settlementDateNoOptional. Defaults to today. The date the money actually changes hands. Required format: MM/DD/YYYY (e.g., 07/04/2025).

TDQS

A3.5/5.0
Behavior2/5

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

The annotation declares readOnlyHint=true, which covers the read-only nature. The description adds no additional behavioral details beyond the obvious calculation function. It does not mention error handling, default settlement behavior (though the schema covers it), output format, or any special handling like yield-to-worst when a call schedule is provided. Since the annotation already covers mutability, the description should provide more context for full transparency, but it falls short.

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 exceptionally concise and well-structured. It opens with the core function, then provides the source/power note. Both sentences are informative and free of redundancy. The structure is ideal for quick comprehension.

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?

Given the absence of an output schema, the description does not need to explain return values. However, it lacks context about optional parameters like settlementDate and callSchedule, and does not mention that a call schedule triggers yield-to-worst calculation (though the schema hint covers this). The description is adequate but not complete; it relies heavily on the schema for full understanding. A score of 3 reflects this partial completeness.

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?

The schema descriptions fully cover all parameters (100% coverage), so the baseline is 3. The tool description itself does not add any parameter-specific semantics; it merely repeats the general purpose. No additional context beyond what the schema provides is included, so the score stays at the baseline.

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 clearly states the tool's purpose with a specific verb ('Calculate') and resource ('price, yield, and accrued interest for Periodic bonds'). It identifies the domain (fixed income) and the calculation type without ambiguity. The mention of 'Periodic bonds' distinguishes the input type, and since there are no sibling tools, there is no confusion.

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 does not explicitly state when to use this tool versus alternatives, but there are no sibling tools provided, so the primary function ('calculate') implicitly defines its applicability. It mentions the standard calculation method but does not provide conditions or exclusions. Given the absence of alternatives, a neutral score of 3 is appropriate.

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

A3.5/5.0
Disambiguation5/5

With only one tool, there is no possibility of confusion between tools. The tool has a clear, singular purpose for periodic bond calculations.

Naming Consistency5/5

The single tool name follows a clear verb_noun pattern (calculate_bond_periodic). While there are no peers to compare, the name is systematic and descriptive.

Tool Count2/5

One tool for a domain as broad as 'Bond Calculations' is too few. The server appears to handle only periodic bonds, omitting other bond types and related calculations.

Completeness2/5

The tool covers one specific calculation type (periodic bonds) but the server's domain implies a wider set of fixed-income calculations. Missing other bond types and financial metrics create significant gaps.

Resources