Skip to main content
Glama
FindDataTechnology

fd-cn-report

Official

extract_indicators_by_position

Extract indicators named in a position CSV for one company and fiscal year. Batch-process report indicators while skipping realtime ones not in PDFs.

Instructions

Extract the indicators named in a position CSV for one company/year.

Default CSV is docs/indicators_position.csv (override with csv_path). Reads the CSV's indicator column, routes report/akshare/computed indicators through the batch engine (one PDF fetch, batched LLM, python extractors, computed ratios, bundle cache), and lists realtime/external indicators (PE-TTM, PB, 市值, …) in skipped — they are not in the report PDF.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
yearYesfiscal year.
csv_pathNoposition CSV path (default docs/indicators_position.csv).docs/indicators_position.csv
extractorNo"auto" (default — each rule's declared extractor), "llm" (force LLM for report rules), or "python" (skip report rules whose extractor is LLM — LLM-free run).auto
indicatorsNooptional subset — restricts extraction to the intersection of this list and the CSV's indicator column.
ticker_or_nameYesticker or name (see get_company).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.4

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses the batch engine, single PDF fetch, batched LLM, python extractors, computed ratios, bundle cache, and the crucial behavior that realtime/external indicators are NOT extracted but returned in `skipped`.

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?

Front-loads the core operation in the first sentence and follows with the mechanism and the skip behavior. The engine internals parenthetical is dense but each clause conveys real behavior; nothing is wasted.

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?

An output schema exists so return values need not be described, and the description covers the extraction scope, the CSV default, and the skip semantics. An agent has enough to invoke it correctly, though the relationship to extract_indicators remains implicit.

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%, so the schema already documents all five parameters, making 3 the baseline. The description adds the default CSV path and clarifies the `indicators`/`skipped` semantics, but does not add format or syntax detail beyond the schema.

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 verb ('Extract') and resource ('the indicators named in a position CSV') scoped to one company/year, which is clearly more specific than the generic siblings like extract_indicators or get_indicator. It never names those siblings, so the agent must infer the 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?

Implies usage through the CSV-driven workflow but gives no explicit when-to-use/when-not guidance versus extract_indicators or list_indicators. The note that realtime/external indicators land in `skipped` is helpful context but not routing guidance.

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