Skip to main content
Glama
jarvislee90s-dot

local-datasource

query_bond

Fetch China onshore bond data—yield curves, credit bond issuance info, or exchange daily quotes—and save results as a CSV file to a specified path.

Instructions

Query China onshore bonds. Output is written to file_path as CSV. kind=yield_curve: 国债到期收益率曲线 (bond_china_yield). kind=issue_info: 信用债发行信息含评级 (bond_info_cm). kind=credit_daily: 信用债交易所日行情 (bond_zh_hs_daily). 已知限制(akshare免费层无): 中债估值YTM/全价、赎回回售条款详情、剩余期限、城投发行人财务。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
kindYesQuery type
symbolNoExchange bond symbol e.g. sh019623 (credit_daily)
end_dateNoEnd date YYYY-MM-DD (yield_curve/credit_daily)
bond_codeNoBond code e.g. 2180495.IB or 2180495 (issue_info, mutually exclusive with bond_issue)
file_pathYesOutput CSV file path
bond_issueNoIssuer name e.g. 成都东方广益 (issue_info, returns latest bond by issue date, mutually exclusive with bond_code)
start_dateNoStart date YYYY-MM-DD (yield_curve/credit_daily)

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations, so the description carries the burden. It discloses that output is written to a CSV file and lists known limitations (missing YTM, redemption terms, etc.), which is useful. However, it doesn't disclose whether the operation is read-only, error behavior, or any side effects beyond file writing.

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?

Description is structured: main purpose, kind enumeration, limitations. It's slightly verbose but each sentence adds value, and the core purpose is front-loaded.

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?

For a 7-param tool with no output schema, the description covers the main purpose, kinds, and known limitations. It doesn't explain return values (but CSV file output is clear) or error handling. Given schema richness, it's reasonably complete.

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 covers 100% of parameters, but description adds mapping from kind to specific data source names (e.g., bond_china_yield), enriching meaning beyond schema. Also notes mutual exclusivity in schema, reinforcing the semantic value.

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 specific resource (China onshore bonds) and enumerates three distinct kinds, making the tool's scope clear. Doesn't explicitly differentiate from sibling query_convertible_bond but the name and scope are sufficient for a basic distinction.

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?

Provides per-kind context (what each kind returns) and known limitations, but no explicit guidance on when to use this tool vs alternatives. It implies usage by naming data sources but lacks exclusionary criteria or alternative tool references.

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

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/jarvislee90s-dot/local-datasource'

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