Skip to main content
Glama

Sober California Recovery Directory

Search California recovery facilities

search_facilities
Read-onlyIdempotent

Search Sober California'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.
cityNoCalifornia city, e.g. Sacramento.
nameNoPart of the facility name.
limitNoMax results.
countyNoCounty name, e.g. Los Angeles.
offsetNoPagination offset.
care_typeNosober-living, residential, outpatient, detox, otp, or medi-cal.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, openWorldHint=false, and idempotentHint=true, so the safety profile is covered. The description adds that the directory is 'public' (implying no auth or private data), which is modest value, but says nothing about result ordering, pagination behavior, or what happens with zero matches.

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 the resource and the full list of searchable dimensions, and no filler. Nothing is repeated from the schema in wasteful detail.

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?

With seven optional parameters, no output schema, and no guidance on pagination, default ordering, or what a result record contains, the description leaves real gaps for an agent planning a search. Annotations cover safety but not result-shape expectations.

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% with per-parameter descriptions and an enum for care_type, so the schema carries parameter meaning. The description restates the same filter set without adding syntax, matching rules (partial vs exact for name), or interaction semantics, so baseline 3 applies.

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 names a specific verb ('Search') and resource ('public directory of sober living homes and treatment centers') and lists the filter dimensions (city, county, ZIP, name, care type). It is clearly a multi-criteria lookup tool, distinguishable in kind from the sibling 'get_facility_by_id', though it never names or contrasts those siblings explicitly.

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: the filter-oriented phrasing suggests 'use this to find facilities when you don't have an ID.' There is no explicit when-to-use versus get_facility_by_id or get_county_resources, no statement that all parameters are optional, and no guidance on combining filters.

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