Skip to main content
Glama

OpenInjury

Get a worksite record

get_worksite
Read-onlyIdempotent

The injury summary a worksite filed with OSHA for each year, the computed rates, the range, the BLS national rate and the comparison, with caveats and sources.

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": {
      "site_id": "<site_id>"
    },
    "name": "get_worksite"
  }
}

Input Schema

NameRequiredDescriptionDefault
site_idYesThe site_id from search_worksites.

Output Schema

NameRequiredDescriptionDefault
dataNo
notesNo
statusYes
sourcesNo
page_urlNo
release_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/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 the safety profile needs no restating. The description contributes that the payload is multi-year, includes derived/computed rates and BLS benchmarking, and ships with caveats and sources — useful framing about data provenance — but says nothing about retrieval failures (e.g., a site with no filings) or access requirements.

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?

A single sentence with no filler, and the most important content (injury summary, computed rates, benchmark comparison) is front-loaded. The comma-spliced list is slightly awkward to parse but nothing is redundant or padded.

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

Completeness3/5

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

With rich annotations, an output schema, and full schema description coverage, this low-complexity read tool needs little from the description — and the description spends its entire length on return contents, which the output schema largely already covers. The remaining real gap is selection guidance against get_employer and search_worksites, which is not addressed at all.

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?

One parameter at 100% schema coverage; the schema already states it is an integer site_id sourced from search_worksites, including bounds. The description adds no information about the identifier, so the baseline 3 applies — the schema does all the work.

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 is a dense noun phrase rather than a verb+resource statement, but it specifies exactly what the caller receives: a per-year OSHA injury summary, computed rates, range, BLS national rate and comparison, plus caveats and sources. That content is distinctive enough to separate it from get_employer and get_industry_benchmark, though the wording never explicitly frames it as a retrieval of a single worksite record.

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

Usage Guidelines2/5

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

There is no when-to-use, when-not-to-use, or alternative-tool guidance in the description. The only hint at invocation context comes from the input schema's 'site_id from search_worksites', which is structured data, not description text. An agent must infer that this is the detail-fetch step following a search.

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