Skip to main content
Glama

NZXplorer (Remote)

get_earnings_quality

Read-onlyIdempotent

Get earnings quality score for an NZX company. 0-100 composite score measuring how cash-backed and sustainable reported earnings are. 5 components: accruals ratio (net income vs operating cash flow burden), cash conversion (OCF/NI ratio), working capital efficiency (receivables/inventory trends vs revenue growth), earnings persistence (profitability consistency and volatility), capital intensity (capex vs depreciation reinvestment). Use when assessing whether profits are real cash or accrual-driven, evaluating dividend sustainability, or filtering fair value models.

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": {
      "ticker": "<ticker>"
    },
    "name": "get_earnings_quality"
  }
}

Input Schema

NameRequiredDescriptionDefault
tickerYesNZX ticker symbol (e.g. "FPH", "AIR", "SPK")

Output Schema

NameRequiredDescriptionDefault
dataYesThe tool payload. Null when the call did not produce one — read meta.availability_status to find out why, and do not treat null as zero, empty or "none found".
metaYes
toolYesTool that produced this result.
schema_versionYesEnvelope contract version. Bumps only on a breaking shape change.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedOutput schema / properties / meta / properties / provenance / description
      Previous value: -"Whether the figures can cite a source document. \"undeclared\" means no claim has been made for this endpoint yet — it is not a claim that the data is unsourced."New value: +"Whether the figures can cite a source document. \"direct\": every returned row carries its own document URL (see meta.sources). \"reachable\": some do, or the documents sit beside figures that are not rows. \"undeclared\": no document URL was found in this payload — it is not a claim that the data is unsourced."
    • addedOutput schema / properties / meta / properties / sources
      Added value: +{
      +  "description": "Primary documents (NZX announcements, annual reports) whose URLs appear in this payload. Cite these with their date when you quote a figure. A listed document was returned with the data; it is not proof that a given sentence of your answer came from it.",
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "date": {
      +        "description": "YYYY-MM-DD, or null when the row has no date.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "kind": {
      +        "enum": [
      +          "announcement",
      +          "annual_report",
      +          "document"
      +        ],
      +        "type": "string"
      +      },
      +      "title": {
      +        "type": "string"
      +      },
      +      "url": {
      +        "format": "uri",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "url",
      +      "title",
      +      "date",
      +      "kind"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
  2. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-open-world and non-destructive, so the safety profile is fully covered by structured fields. The description adds genuine methodological transparency by disclosing the five scoring components and the 0-100 scale, which tells the agent what the number means. It does not state score interpretation bands, coverage requirements (e.g., how much history is needed), or failure behavior for thin-data tickers, leaving a real gap for a derived-metric tool.

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?

Purpose and score definition are front-loaded, then components, then use cases – a sensible order with no filler sentences. It is dense but slightly long: the parenthetical glosses for each component (e.g., 'capex vs depreciation reinvestment') are near the limit of what earns its place.

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, return values need no explanation, and the description covers what the score is and how it is built. What is missing is how to act on the result (thresholds or interpretation) and any data-coverage caveats, which matter for a composite derived metric. Otherwise complete for a one-parameter read tool.

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?

There is a single parameter with 100% schema description coverage, including example tickers, so the schema fully handles parameter meaning. The description only adds that the ticker must be an NZX company, a marginal scoping clarification. Baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb and resource ('Get earnings quality score for an NZX company') and immediately defines what the score is: a 0-100 composite of five enumerated components. The component list (accruals, cash conversion, working capital, persistence, capital intensity) implicitly separates it from adjacent siblings such as get_earnings or get_accounting_quality without the agent needing to open any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

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

It gives three concrete use cases – testing whether profits are cash-backed or accrual-driven, evaluating dividend sustainability, and filtering fair value models – which is clear when-to-use guidance. It stops short of naming an alternative tool or stating when not to use it, so a 5 is not warranted.

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.

Resources