Skip to main content
Glama
JerBouma

Finance Toolkit

economics_fixed_income

Read-onlyIdempotent

Calculate bond duration, present value, yield-to-maturity, and derivative pricing using direct bond/derivative parameters. No tickers or countries needed.

Instructions

Bond and derivative valuation calculations (bond duration, present value, yield-to-maturity, derivative pricing). No tickers or countries needed — provide bond/derivative parameters (e.g. face_value, coupon_rate, maturity) directly as arguments.

Available indicators: get_derivative_price, get_duration, get_present_value, get_yield_to_maturity.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
indicatorYesName of the specific metric to calculate, e.g. 'get_asset_turnover_ratio'. Required — omitting it returns the list of available indicators.
countriesNoComma-separated country names, e.g. 'United States,Germany,Japan'.
start_dateNoStart of the date range in YYYY-MM-DD format.2021-06-22
end_dateNoEnd of the date range in YYYY-MM-DD format.2026-06-21
quarterlyNoReturn quarterly data instead of annual when True.
modelNoValue for model.black
forward_rateNoValue for forward_rate.
strike_rateNoOption strike price.
volatilityNoValue for volatility.
years_to_maturityNoYears remaining until the bond matures.
risk_free_rateNoValue for risk_free_rate.
notionalNoValue for notional.
is_receiverNoValue for is_receiver.
include_payoffNoValue for include_payoff.
show_input_infoNoValue for show_input_info.
duration_typeNoValue for duration_type.modified
par_valueNoValue for par_value.
coupon_rateNoAnnual coupon rate as a decimal, e.g. 0.05 for 5 %.
yield_to_maturityNoValue for yield_to_maturity.
frequencyNoValue for frequency.
bond_priceNoClean price of the bond per 100 face value.
guessNoValue for guess.
toleranceNoValue for tolerance.
max_iterationsNoValue for max_iterations.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false. The description adds behavioral context by explaining that the tool performs calculations using provided parameters, not fetching external market data. This goes beyond the annotations but doesn't discuss rate limits or auth needs, which are mitigated by the read-only nature.

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 two sentences plus a list. It is concise but the list of indicators is redundant with the input schema enum. Overall, it is well-structured and front-loaded with the tool's purpose, though it could be more concise by omitting the indicator list.

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 24 parameters, high schema coverage, and annotations, the description is complete enough. It explains that calculations are performed and no external data is needed. With an output schema existing (though not shown), return values are likely documented elsewhere. The description provides sufficient context for an agent to understand the tool's scope.

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?

Schema coverage is 100%, but many parameter descriptions are generic ('Value for ...'). The description above the schema adds context about using parameters directly but includes an example with 'face_value' while the schema uses 'par_value', causing slight inconsistency. It does not map parameters to specific indicators, leaving the agent to infer which parameters are relevant for each calculation.

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 'Bond and derivative valuation calculations' and lists specific metrics like bond duration, present value, yield-to-maturity. It distinguishes from siblings by specifying that no tickers or countries are needed and that parameters are provided directly.

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 says 'No tickers or countries needed — provide bond/derivative parameters directly' and lists available indicators. However, it does not explicitly state when to use this tool versus sibling tools like quant_models or market_data, nor does it provide exclusions or alternatives.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/JerBouma/FinanceToolkit'

If you have feedback or need assistance with the MCP directory API, please join our Discord server