Skip to main content
Glama

Sober California Recovery Directory

Get facility details

get_facility_by_id
Read-onlyIdempotent

Get full public details for one Sober California listing by its id.

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": {
      "id": "<id>"
    },
    "name": "get_facility_by_id"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesListing id from search results.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and a closed-world lookup, so the safety profile is covered. The description adds one useful behavioral fact beyond that: only 'public' details are returned, which tells the agent not to expect private fields. It says nothing about behavior on a missing/invalid id (error vs empty result), which is the main unanswered behavioral question for an id lookup.

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?

A single front-loaded sentence with zero filler: verb, scope qualifier, resource, and keying parameter in that order. Nothing could be removed without losing 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?

For a simple idempotent lookup with one fully documented parameter and no output schema, the definition covers what the tool is and what class of data comes back ('full public details'). The only gap is failure behavior for an unknown id, a minor omission given the annotation coverage.

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 the single parameter already carries format uuid plus provenance ('Listing id from search results'), so the schema does the heavy lifting. The description's 'by its id' adds no syntax or constraint beyond that, which is the baseline-3 case for a one-param tool with full coverage.

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 uses a specific verb ('Get full public details') plus a clearly scoped resource ('one Sober California listing'), and 'by its id' signals a single-record lookup as opposed to the sibling search_facilities. It stops short of naming any sibling explicitly, so differentiation is inferred from the singular/list framing rather than stated.

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: 'one ... listing by its id' suggests this follows a search that produced an id, but the description never says when to use this instead of search_facilities or get_county_resources, nor what to do if the id is unknown. The strongest hint about provenance lives in the schema ('Listing id from search results'), not the description.

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