Skip to main content
Glama

Idx Sanitize Financials

idx_sanitize_financials

Detect and correct USD denomination mismatches, thin-equity ROE distortions, and solvency traps in Indonesian stock financials.

Instructions

Sanitize financial metrics against USD denomination mismatches, thin-equity ROE distortions, and solvency traps.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
derYesReported Debt-to-Equity ratio.
pbvYesReported Price-to-Book Value ratio.
tickerYes4-letter IDX ticker code.
is_bankNoWhether the company is a banking institution.
roe_pctYesReported Return on Equity in percent (e.g. 28.8 for 28.8%).
usd_idr_rateNoCurrent USD/IDR exchange rate (default: 16,000).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full transparency burden. It discloses what categories of problems the tool addresses and implies it adjusts or flags metrics, but it does not say whether it returns corrected values, emits warnings, or only detects issues. This is reasonably informative but not fully transparent.

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?

The description is one tight, front-loaded sentence with no filler. Every phrase contributes meaning, and the three target risk categories make the tool's purpose memorable without unnecessary elaboration.

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?

Given the output schema exists and all parameters are fully documented, the description is mostly sufficient for an agent to decide when to call this tool and what inputs to supply. The only gap is a clearer statement of what the sanitization output looks like, but that is less critical because the output schema is present.

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?

The input schema already describes all 6 parameters with 100% coverage, so the baseline is 3. The description adds high-level conceptual mapping (e.g., thin-equity ROE relates to roe_pct/der, USD mismatch relates to usd_idr_rate/pbv), but it does not provide any additional parameter-level detail beyond what the schema already gives.

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 description uses a specific verb ('sanitize') and a clear resource ('financial metrics'), and it names three concrete correction targets: USD denomination mismatches, thin-equity ROE distortions, and solvency traps. This distinguishes it from sibling tools like quote, chart, and orderbook, though it does not explicitly contrast itself with an alternative tool.

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?

The description implies when the tool is relevant—when financial metrics may be distorted by currency mismatches, thin equity, or solvency issues—but it never states an explicit 'use when' condition or mentions any alternatives/exclusions. The context is inferable rather than directly specified.

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