Skip to main content
Glama

search_clinics

Read-onlyIdempotent

Search configured clinics by name, city, area, or specialty to get their clinic ID, short code, address, and booking URL.

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_clinics"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryNoOptional search text (e.g. clinic name, locality, city, or dental/pediatrics).

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=true, idempotentHint=true, openWorldHint=false, and destructiveHint=false, so the safety profile is fully covered. The description's added value is the returned field set, which substitutes for the missing output schema, but it says nothing about empty results, match behavior, or whether an omitted query returns all configured clinics.

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 no filler: search dimensions first, then the payload the caller receives. Every clause carries 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 one-parameter read tool with full schema coverage and no output schema, the description supplies exactly the missing piece — what fields come back. Only the optional-parameter and empty-result nuances are left unaddressed.

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 the single `query` parameter is already documented with an example. The description reinforces that name, city, area, and specialty are all valid query targets, which is mildly additive, but it does not state that the parameter is optional or describe the no-query behavior.

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 ("clinics"), enumerates the searchable fields (name, city, area, specialty), and lists what is returned (clinic ID, short code, address, booking URL). This clearly separates it from a details-retrieval tool, though it never names the siblings or explicitly frames itself as the ID-lookup step before booking.

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: an agent can infer this is the discovery step whose output (clinic ID) feeds book_clinic_appointment or get_clinic_details. There is no explicit when-to-use, when-not-to-use, or statement about what happens if no match is found.

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