Skip to main content
Glama

Sober Pennsylvania Recovery Directory

Search Pennsylvania recovery facilities

search_facilities
Read-onlyIdempotent

Search Sober Pennsylvania's public directory of sober living homes and treatment centers by city, county, ZIP, name, or care type.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "search_facilities"
  }
}

Input Schema

NameRequiredDescriptionDefault
zipNoZIP code.
cityNoPennsylvania city, e.g. Philadelphia.
nameNoPart of the facility name.
limitNoMax results.
countyNoCounty name, e.g. Allegheny.
offsetNoPagination offset.
care_typeNosober-living, residential, outpatient, detox, otp, or medicaid.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and openWorldHint=false, so the safety profile is covered. The description adds that the source is a public directory, hinting at no-auth access, but says nothing about result ordering, whether filters combine with AND or OR, or what a page of results contains.

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?

A single well-formed sentence that front-loads the resource and then lists the filters. No filler, though the phrasing is slightly awkward and it could have spent a few words on result semantics.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a seven-parameter, zero-required, read-only search tool with no output schema, the description leaves meaningful gaps: whether all filters are optional and combined conjunctively, and what the returned records look like. Adequate but not fully complete.

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 with examples and bounds. The description only restates the filter names, adding no syntax or combination semantics beyond the schema.

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 (search) and resource (Sober Pennsylvania's public directory of sober living homes and treatment centers), and enumerates the filter dimensions. It's clear what the tool does, though it doesn't explicitly contrast with get_facility_by_id or get_county_resources.

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?

The listed filter dimensions imply a browse/filter workflow, but there's no explicit statement of when to use this instead of get_facility_by_id (known ID) or get_county_resources (county-level listing). The agent must infer the 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