Skip to main content
Glama

NZXplorer (Remote)

search_keyword_trends

Read-onlyIdempotent

Search any keyword or phrase across NZX company announcements and see how often it appears over time. Shows frequency by year (with adoption rate and YoY growth), sector, top companies (with first mention date), and overall first mention. Use for "when did NZX companies start talking about AI?", "which sector mentions climate risk most?", "how often does [company] mention restructuring?", "compare AI vs climate mentions". Supports multi-keyword comparison and ticker-specific filtering.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "search_keyword_trends"
  }
}

Input Schema

NameRequiredDescriptionDefault
tickerNoFilter to a specific NZX company ticker (e.g. "AIR", "FPH")
keywordNoSingle keyword or phrase to search (e.g. "artificial intelligence", "restructuring", "net zero")
keywordsNoComma-separated keywords for comparison (e.g. "ai,climate,esg"). Max 5. Use instead of keyword param.

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

A4/5.0
Behavior3/5

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

Annotations already cover safety (readOnlyHint, idempotentHint, destructiveHint=false) and closed-world scope, so the description's main added value is naming the derived metrics returned: adoption rate, YoY growth, first mention date. It says nothing about limits on result volume, latency, or how sparse data is handled, which would matter for a trend aggregation 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?

Front-loaded with the core action and output breakdown, then the example queries. Three sentences with no filler, though the four inline examples are slightly list-heavy for a description this short.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists and annotations cover the safety profile, so the description only needed scope, capability, and query patterns — all present, including the NZX-only domain constraint and the comparison mode. Nothing an agent needs to call it correctly is missing.

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% and the schema already documents ticker, keyword, and the comma-separated keywords parameter with the max-5 rule and 'use instead of keyword'. The description echoes the multi-keyword comparison and ticker filtering but adds no format or precedence detail beyond the schema, so baseline 3 is right.

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?

States a specific verb and resource ('search any keyword or phrase across NZX company announcements') plus the distinctive output shape: frequency over time, broken down by year, sector, and company with first-mention dates. That temporal/aggregate framing clearly separates it from a plain announcement full-text search.

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?

Four quoted example questions give concrete triggers ('when did NZX companies start talking about AI?', 'which sector mentions climate risk most?'), which is stronger than generic context. It stops short of explicit exclusions or naming an alternative tool for raw announcement retrieval, so 4 rather than 5.

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