Skip to main content
Glama

get_fund_live_pnl

Build a real-time PnL chart from closed positions for a fund's roster.

Args:
    fund_id: The fund's ID.

Returns a JSON series of cumulative PnL points.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fund_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

C2.9/5.0
Behavior3/5

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

With no annotations, the description carries the burden. It adds meaningful behavior: 'real-time', 'closed positions' as the source, and a JSON series of cumulative PnL points as the output. However, it does not say whether the operation is read-only, how freshness is defined, or whether it aggregates over all time, leaving behavioral uncertainty.

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 compact and front-loaded, with the core purpose in the first sentence and a clear return-type line. The Args block is redundant with the input schema, but it is short enough not to be a real cost.

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?

For a single-parameter tool with an output schema, the core contract is mostly covered: what it does, its data source, and its return shape. The main gap is contextual: no guidance on selecting this tool over related fund analytics/performance tools, which an agent needs when choosing among the sibling list.

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

Parameters1/5

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

Schema coverage is 0%, so the description was responsible for explaining fund_id, but it only says 'The fund's ID', which merely restates the property name and the schema's title 'Fund Id'. It does not say where to obtain the ID, what format to use, or what kinds of IDs are valid.

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 opening sentence names a specific deliverable ('real-time PnL chart'), a data source ('closed positions'), and a scope ('a fund's roster'), so an agent can tell it apart from generic fund history tools. It does not explicitly contrast with sibling tools like get_fund_performance or get_fund_analytics, so it stops 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 Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no 'when to use' guidance, no exclusions, and no mention of alternatives. The description only states what it builds and its return type; the agent must infer when this is the right tool among the many get_fund_* siblings.

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.