Skip to main content
Glama

Get a facility's official record

get_facility_record
Read-onlyIdempotent

Use this when one specific facility is identified (a record_key slug from find_facility, or a license number the user gave) and the user wants its license status, published inspection counts or the agency's inspection findings. Returns the record with verbatim findings, the status-as-of date, the agency's official record link and the CheckedCare page URL. Do not use it to grade, rank or compare facilities, or to look up staff, children or any other individual.

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": {
      "state": "<state>"
    },
    "name": "get_facility_record"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugNorecord_key.slug from a find_facility result.
stateYesTwo-letter US state code (for example TX) of the state whose records to read. If the state is not covered, the tool returns an error naming the covered states.
license_numberNoThe agency license or operation number, exactly as published.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / state / description
      Previous value: -"Two-letter code of the state whose records to read."New value: +"Two-letter US state code (for example TX) of the state whose records to read. If the state is not covered, the tool returns an error naming the covered states."
    • removedInput schema / properties / state / enum
      Removed value: -[
      -  "TX",
      -  "CA",
      -  "FL",
      -  "NY",
      -  "OH",
      -  "PA",
      -  "WA",
      -  "GA",
      -  "VA",
      -  "AZ",
      -  "NH",
      -  "NJ",
      -  "NV",
      -  "SC",
      -  "SD",
      -  "ND",
      -  "OK"
      -]
  2. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive, closed-world behavior, so the safety profile is covered; the description adds return contents (verbatim findings, status-as-of date, agency record link, CheckedCare URL) and the error behavior for uncovered states. It does not disclose pagination or size limits, but for a single-record read that gap is minor.

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: when-to-use, what-returns, when-not-to-use. Front-loaded and free of filler. Slightly dense, but every clause carries operational meaning.

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?

For a read-only single-record tool with full schema coverage and no output schema, the description supplies the return shape, identity requirements, excluded use cases, and error edge case. Nothing needed to invoke it correctly is missing.

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 coverage is 100%, so all three parameters including the state-code format and the covered-state error are already documented in the schema. The description adds the either/or relationship between slug and license_number, which the schema does not state, but adds no other parameter detail. Baseline 3 is appropriate given the schema does the heavy lifting.

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 (get/read) and resource (one facility's official record) and enumerates what is returned: license status, inspection counts, verbatim findings. Explicitly differentiates from the sibling find_facility by naming its record_key slug as the input.

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 a precise entry condition (one specific facility already identified, either via a find_facility slug or a user-supplied license number) and explicit exclusions: no grading/ranking/comparison, no lookups of staff, children or other individuals. Routes the agent to find_facility for discovery.

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