Skip to main content
Glama

OpenInjury

Get parent company

get_parent_company
Read-onlyIdempotent

For a parent-company lookup, this tool returns the parent company and the employers linked to it, with the GLEIF record that proves each link. For a name lookup, it returns up to 25 parent companies whose name starts with the text given. A link exists only when the employer's name and one worksite address match its GLEIF record.

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": "get_parent_company"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoUse the start of a parent company's name (3 characters or more).
parent_idNoUse the parent company's LEI (20 characters) from a /company page.

Output Schema

NameRequiredDescriptionDefault
dataNo
notesNo
statusYes
sourcesNo
page_urlNo
release_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so safety and repeatability are covered structurally. The description contributes real extra context: a 25-result cap on name matching, the GLEIF provenance record returned per link, and the rule that a link exists only when name plus one worksite address match. It does not address what happens if both parameters are supplied or whether the name search is ranked or ordered.

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?

Three sentences, each carrying distinct information, with the two modes front-loaded before the link-definition caveat. The opening clause ('For a parent-company lookup, this tool returns the parent company') restates the tool name before getting to the payload, a minor redundancy that a tighter phrasing could remove.

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, the description need not spell out return fields, and it correctly focuses on the semantics an agent cannot infer: mode selection and link validity. The one remaining gap is that both parameters are optional and the description never states the outcome of supplying both or neither, which matters for a two-mode 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?

Schema description coverage is 100%, so both parameters are already documented in full, including the 3-character prefix rule and the 20-character LEI pattern; the baseline of 3 therefore applies. The description adds marginal value by confirming prefix ('starts with') semantics and attaching the 25-result limit to the name parameter, plus the provenance of parent_id, but introduces no new syntax or constraint handling.

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 states a specific verb and resource ('returns the parent company and the employers linked to it') and unambiguously splits behaviour into two lookup modes keyed to each parameter. It does not explicitly contrast itself with same-family lookups such as get_employer or get_mine_controller, so sibling differentiation is left to the agent.

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 clearly signals which input selects which mode ('For a parent-company lookup...' vs 'For a name lookup...'), and the schema notes that parent_id is taken from a /company page, which gives the agent a concrete entry path. It stops short of any exclusion or alternative — nothing says what to do when neither a LEI nor a usable name prefix is available.

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