Skip to main content
Glama
longbridge

longbridge

Official

Fund Performance Comparison

fund_performance_comparison
Read-onlyIdempotent

Compare a fund's performance against its benchmark/peers. counter_id from fund_hot / fund_list; optional period selector.

Instructions

Compare a fund's performance against its benchmark/peers. counter_id from fund_hot / fund_list; optional period selector.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
_jqNoOptional jq filter (jaq syntax) applied to this tool's JSON response before it is returned; it never changes the upstream request. One output is returned as-is, several as a JSON array, none as []. Module imports and the `env`/`debug`/`stderr` builtins are unavailable. Example: .data | map({symbol}). Omit for the full response.
periodNoAnalysis period selector (server-defined, e.g. trailing 1M/3M/1Y ranges). Omit for the default period.
counter_idYesFund counter_id, e.g. `UT/FD/HK0000384492` (from `fund_hot` / `fund_list`).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.13.2

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is fully covered and the description correctly does not contradict it. The description adds the counter_id provenance and the optional period behavior, but says nothing about return shape, comparison universe, or how peers are chosen.

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?

Two compact sentences with no filler, leading with the tool's purpose and following with the input-sourcing hint. Efficient, though the second sentence is fragmentary rather than fully formed guidance.

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?

With a fully described schema, read-only/idempotent annotations, and no output schema, the short description is nearly sufficient for correct invocation. The only real gap is the absence of sibling differentiation and any comparison-universe detail, which is minor given the structured coverage.

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 description coverage is 100%, so the schema already documents counter_id (with example), period, and _jq. The description only corroborates the counter_id source and the period's optionality, adding no syntax or semantics beyond the schema — the baseline 3 for high-coverage schemas is appropriate.

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?

Names a specific verb (Compare) and resource (a fund's performance) with explicit scope (against benchmark/peers). However, it does not distinguish itself from the sibling fund_performance or fund_position_performance, so an agent cannot tell from the description alone which of these performance tools to pick.

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 a useful data-source hint (counter_id from fund_hot / fund_list) and notes the period selector is optional, which is implied usage guidance. It stops short of stating when to use this comparison tool versus the plain fund_performance sibling, leaving the key routing decision to inference.

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

Deploy Server

Other Tools