Skip to main content
Glama

Msha Mine Search

msha_mine_search
Read-onlyIdempotent

Search MSHA (Mine Safety and Health Administration) mine records by operator name, controller name, or mine name. Returns matching mines with their MSHA Mine ID, status (Active, Abandoned, Intermittent, etc.), mine type (Surface/Underground/Facility), coal vs metal/non-metal classification, commodity, state, and current operator/controller. Use this to find the Mine ID(s) for a company before calling msha_mine_detail. Sourced from MSHA's own bulk mine-records file (public domain), refreshed weekly. Keyless.

Input Schema

NameRequiredDescriptionDefault
limitNoMax mines to return (default 25, max 100).
queryYesOperator, controller, or mine name (or part of one) to search for, e.g. "Peabody", "Warrior Met Coal", "O'Neal Quarry".
stateNoOptional 2-letter US state code to restrict the search, e.g. "WV", "KY".
statusNoOptional exact mine status filter: Active, Abandoned, "Abandoned and Sealed", Intermittent, "New Mine", NonProducing, "Temporarily Idled".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, so the safety profile is covered. The description adds genuinely new context: provenance (MSHA bulk file, public domain), weekly refresh cadence, and that it is keyless (no auth needed). It does not mention result ordering or what happens when the query is too broad, which keeps it from a 5.

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?

Front-loaded with the core action, followed by the return payload, then the routing instruction, then provenance. Every sentence carries distinct information an agent needs, and the returned-field enumeration substitutes for the missing output schema rather than padding.

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?

With no output schema, the description enumerates the returned fields (Mine ID, status, mine type, coal/metal classification, commodity, state, operator/controller), which is exactly what is needed. Combined with 100% schema coverage on inputs, an agent has everything required to call and interpret it.

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 each of the four parameters is documented with examples and defaults in the schema. The description adds no parameter-level detail (e.g. whether query matches on substring vs prefix beyond 'or part of one'), so the baseline 3 applies.

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 MSHA mine records) plus the three matchable name fields, and explicitly distinguishes itself from the sibling msha_mine_detail. An agent knows exactly what this returns and why it exists.

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

Usage Guidelines5/5

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

Gives an explicit routing rule: 'Use this to find the Mine ID(s) for a company before calling msha_mine_detail.' The alternative and the condition that selects it are both named, so no inference is required.

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.