Skip to main content
Glama

Check facility permit identity

facilityproof.check_permit_identity

Resolve one physical U.S. facility and return authoritative FRS environmental program/permit identifiers plus qualified jurisdiction and source-system provenance before deeper compliance research. This is a $0.10 USD MPP operation when commerce is active. It is currently jurisdiction-ready in 40 states. Ambiguous identity, medium-confidence identity, linked-record conflicts, missing routed program identity, and states with unresolved Tribal/federal carve-outs are rejected before payment. The result does not determine compliance, permit status, violations, enforcement, or penalties.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
zipNoU.S. ZIP or ZIP+4 for the physical facility. Use as an identity hint, not as a substitute for a site name or authoritative identifier.
cityNoCity for the physical facility. Used with name/address hints to distinguish facilities with similar names.
nameNoFacility or site name, including a distinguishing plant/site descriptor when available. For name-based resolution, also provide city/state, address, or ZIP whenever possible.
frsIdNoExact 12-digit EPA Facility Registry Service identifier when known. Prefer this over name matching because it anchors federal facility identity directly.
stateNoTwo-letter U.S. postal abbreviation for the physical facility. For full compliance evidence, California, Texas, and Florida are currently released. Permit identity uses a separate readiness gate.
addressNoStreet address for the physical facility when known. Used only for physical-site identity resolution; do not provide corporate headquarters unless that is the facility being checked.
programIdNoExact authoritative environmental program identifier when known, such as an NPDES permit ID or RCRA handler ID. FacilityProof uses it to resolve the physical facility before paid work.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
facilityYes
identityYes
programsYes
conflictsYes
freshnessYesFRS retrieval time plus source-system cadence/provenance. Source-route entries do not pretend a facility-specific source record was captured.
operationYes
generatedAtYes
limitationsYes
jurisdictionYes
schemaVersionYes
sourceProvenanceYes
unresolvedIdentifiersYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / state / description
      Previous value: -"Two-letter U.S. postal abbreviation for the physical facility. For full compliance evidence, California and Texas are currently released; Florida is in development and unreleased. Permit identity uses a separate readiness gate."New value: +"Two-letter U.S. postal abbreviation for the physical facility. For full compliance evidence, California, Texas, and Florida are currently released. Permit identity uses a separate readiness gate."
  2. Changed1 schema field changed
    • changedInput schema / properties / state / description
      Previous value: -"Two-letter U.S. postal abbreviation for the physical facility. Full compliance evidence and permit identity have separate production-readiness rules."New value: +"Two-letter U.S. postal abbreviation for the physical facility. For full compliance evidence, California and Texas are currently released; Florida is in development and unreleased. Permit identity uses a separate readiness gate."
  3. Added

TDQS

A4.4/5.0
Behavior5/5

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

Adds substantial behavioral context beyond the annotations: a $0.10 USD cost gate, current jurisdiction readiness (40 states), a fail-closed pre-payment rejection model, and a bounded scope disclaimer ('does not determine compliance, permit status, violations, enforcement, or penalties'). This tells the agent about cost, failure modes, and coverage limits that the readOnly/openWorld/idempotent hints cannot convey.

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?

Front-loaded with the core resolve-and-return action, then cost, readiness, failure modes, and scope limit. Every sentence carries distinct information, though the readiness/cost sentences are dense and could be trimmed slightly without loss.

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 an output schema present, return values need no explanation, and the description still covers cost, jurisdictional readiness, fail-closed behavior, and explicit scope exclusions. An agent knows the inputs to supply, the expected charge, and the limits of the result before calling.

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 each of the seven parameters is already documented in-schema (FRS ID format, ZIP pattern, name/address hints). The description only restates the schema-level strategy of supplying an exact identifier or a name plus location context, adding no new syntax or format meaning. Baseline 3 applies when the schema carries the param burden.

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 ('Resolve one physical U.S. facility and return authoritative FRS environmental program/permit identifiers'), plus the scope of what is returned (jurisdiction and source-system provenance). The closing clause 'before deeper compliance research' implicitly distinguishes it from the sole sibling facilityproof.check_facility_compliance_evidence, so an agent can route between them from the definition alone.

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?

Clearly frames the position in the workflow ('before deeper compliance research') and enumerates the failure conditions that lead to rejection (ambiguous identity, medium-confidence identity, linked-record conflicts, missing routed program identity, Tribal/federal carve-out states). It never explicitly names the sibling tool or states when NOT to use this in favor of compliance evidence, so routing is inferred rather than stated.

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