Skip to main content
Glama

NZXplorer (Remote)

get_entity_graph

Read-onlyIdempotent

Get the cross-platform entity relationship graph for a person or company. Returns nodes (people, companies, charities, iwi, agencies) and edges (board roles, executive roles, interests, donations, ownership) across NZXplorer, CharityData, IwiData and PublicData. Use for questions about a person's full governance footprint, cross-platform connections, or company relationship maps. Pass a person slug for people, a ticker for companies.

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": {
      "identifier": "<identifier>"
    },
    "name": "get_entity_graph"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeNoEntity type: "person", "company", or "auto" (default: auto-detect)
depthNoRelationship depth: 1 (direct connections) or 2 (includes co-directors/other boards). Default: 1.
identifierYesPerson slug (e.g. "joan-withers") or NZX ticker (e.g. "AIR")

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.6/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, so the description needn't restate safety. It adds real context about data provenance (four source platforms) and result shape (nodes and edges), but says nothing about size/volume limits, pagination, or what happens when a slug or ticker is unrecognized — meaningful gaps for a graph traversal 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 is front-loaded in the first clause, then returns, then use cases, then parameter convention — a sensible ordering. The node/edge and platform enumerations are dense but each carries information; only mild trimming is possible.

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 needn't be spelled out; the description nevertheless characterizes the graph payload. Combined with full schema coverage and annotations, an agent has enough to call it, with only edge-case behavior (invalid identifiers, graph size limits) unaddressed.

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 description coverage is 100% and the schema already documents type (person/company/auto), depth (1 or 2 with co-director semantics), and identifier formats. The description merely restates the slug-vs-ticker convention, adding no examples or constraints beyond the schema, so the baseline 3 applies.

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 and resource: 'Get the cross-platform entity relationship graph for a person or company,' and enumerates exactly what comes back (nodes of people/companies/charities/iwi/agencies, edges of board roles, interests, donations, ownership). It never names or contrasts a sibling such as get_knowledge_graph or get_knowledge_graph_shortest_path, so an agent must infer the difference from the 'cross-platform/NZXplorer+CharityData+IwiData+PublicData' framing.

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?

Gives explicit positive triggers — 'questions about a person's full governance footprint, cross-platform connections, or company relationship maps' — plus the calling convention ('person slug for people, a ticker for companies'). There is no when-not guidance and no named alternative for narrower graph questions, so it falls just short of full routing guidance.

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