Skip to main content
Glama
yzyx
by BerBai

yzyx_attribution

Breaks down each investment account's balance change over a date range into net inflow, snapshot adjustments, and opening items, with totals and per-account validation.

Instructions

【只读】资产归因:把 (date_from, date_to] 区间内每个投资账户的余额变化拆成净流入 + 快照调整 + 期初项,给出总计与分账户(恒等式 Δ=三者之和)。date 格式 YYYY-MM-DD。全量读取约需 2-4 分钟。

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "date_from": "<date_from>",
      "date_to": "<date_to>"
    },
    "name": "yzyx_attribution"
  }
}

Input Schema

NameRequiredDescriptionDefault
date_toYes
date_fromYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.8.3

TDQS

A3.9/5.0
Behavior4/5

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

No annotations are supplied, so the description carries the full burden, and it does disclose key traits: read-only behavior (【只读】), the half-open interval (date_from, date_to], and a full-read latency of roughly 2-4 minutes that matters for agent planning. It does not cover permission requirements or whether large date ranges are truncated, so it stops short of fully characterizing behavior.

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?

Three short sentences, front-loaded with the read-only marker and the operation, followed by the output shape, the date format, and the cost warning. Every sentence carries information an agent needs; nothing is redundant with the title or schema.

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 an output schema present, the description need not describe return values, and it correctly focuses on semantics, interval boundaries, format, and latency. For a two-parameter read-only tool this is nearly complete; only edge-case behavior on invalid or reversed dates is left implicit.

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 description coverage is 0%, so the description must supply the meaning, and it does: it fixes the endpoint exclusivity as (date_from, date_to] and the expected YYYY-MM-DD format, which the bare string schema does not convey. What remains unspecified is timezone or any default/range limits on the two dates.

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 a specific operation on a specific resource: decomposing each investment account's balance change over a date range into net inflow + snapshot adjustment + opening item, with both totals and per-account output, and even names the identity Δ=sum of the three. The operation is distinctive enough that an agent can separate it from siblings like yzyx_performance or yzyx_trend, though no sibling is explicitly named or ruled out.

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?

Usage is only implied by the semantics of the computation (use it when you need balance-change attribution over a range), and the date format plus the 2-4 minute runtime hint help the caller plan. There is no explicit statement of when to prefer this over adjacent tools such as yzyx_performance or yzyx_trend, and no prerequisites or exclusions are given.

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