Skip to main content
Glama

Sober Maryland Recovery Directory

Search Maryland recovery facilities

search_facilities
Read-onlyIdempotent

Search Sober Maryland'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.
cityNoMaryland city, e.g. Baltimore.
nameNoPart of the facility name.
limitNoMax results.
countyNoCounty name, e.g. Baltimore City.
offsetNoPagination offset.
care_typeNosober-living, residential, outpatient, detox, otp, or medicaid.

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 readOnly, idempotent, and closed-world, so the safety profile is covered. The description adds that the source is a public directory (implying no auth) and that it returns both home and treatment-center results, but says nothing about result ordering, pagination behavior, or what an empty match looks like.

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 verb and scope first and the searchable dimensions second; no filler, no restatement of the title beyond what is useful.

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 7-optional-parameter search with pagination and no output schema, the description is adequate but thin: it does not describe the shape of returned facility records or how pagination should be driven, leaving the agent to infer both from the schema and trial responses.

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 every parameter documented including the care_type enum and limit/offset defaults, so the baseline is 3. The description echoes the same field list without clarifying whether multiple filters combine as AND or OR, which is the one semantic an agent actually needs 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') plus resource ('public directory of sober living homes and treatment centers') and enumerates the searchable dimensions, so an agent can tell it is a lookup tool rather than the ID or county fetchers. The only gap is that it never names the siblings to distinguish itself from them 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?

Listing city/county/ZIP/name/care type implies this is the entry point when you have location or category criteria but not an ID, and the sibling names suggest get_facility_by_id covers the ID case. However, no when-to-use or when-not-to-use statement, no mention of when to prefer the county-resource tool, and no prerequisites are given.

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