Skip to main content
Glama

OpenInjury

Search mines

search_mines
Read-onlyIdempotent

Search MSHA's open government data by mine name, operator name or controller name, or by exact MSHA mine ID, optionally in one state. The tool returns each mine's ID, name, operator, controller, county, state, mine type, commodity and MSHA status. It holds only mines with operator hours reported to MSHA for 2016 or a later year. It orders results by name, then mine ID, never by rate or by count.

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": {
      "query": "<query>"
    },
    "name": "search_mines"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoHow many results to return, 25 at most.
queryYesMine, operator or controller name (at least two characters), or an MSHA mine ID.
stateNoTwo-letter state or territory code.

Output Schema

NameRequiredDescriptionDefault
dataNo
notesNo
statusYes
sourcesNo
page_urlNo
release_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover safety (readOnlyHint, idempotentHint, destructiveHint=false, openWorldHint=false), so the description correctly focuses on scope instead: results are limited to mines with operator hours reported in 2016 or later, and ordering is by name then mine ID, never by rate or count. That coverage constraint and stable sort order are real behavioral facts an agent cannot get from annotations or schema, though pagination/truncation behavior beyond the limit cap is not addressed.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four sentences, front-loaded with the search surface, then the returned fields, then the data-coverage constraint, then the sort order. No sentence restates the name or title, and the closing ordering note is short and carries unique information.

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 the description is not obligated to enumerate return values, yet it does so anyway at a high level, and it adds the dataset-coverage boundary that determines whether a mine can be found at all. The only real gap for a moderately complex search tool is matching semantics and result-window behavior beyond the documented limit cap.

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 all three parameters are already documented, establishing the baseline of 3. The description reinforces the query semantics (name vs. exact MSHA mine ID) and the single-state option but adds no matching rules — case sensitivity, substring vs. prefix behavior — beyond what the schema already says.

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 ("Search MSHA's open government data") plus the exact searchable fields: mine name, operator name, controller name, or exact MSHA mine ID, with an optional state filter. This is unambiguous about what the tool does, but it never contrasts itself with the singular sibling get_mine or with get_mine_controller, which also exposes controller data, leaving that differentiation 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 Guidelines3/5

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

Usage is only implied: the description establishes that name searches are partial-ish while mine ID must be exact, and that filtering to one state is optional, which helps an agent pick parameters. There is no explicit when-to-use/when-not-to-use statement and no named alternative such as get_mine for single-record lookups, so the agent must infer routing.

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