Skip to main content
Glama

doctofam

Get clinic

get_clinic
Read-onlyIdempotent

Fetch safe metadata for one tenant-owned DoctoFam clinic. Only non-clinical clinic metadata is returned.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
clinicIdYesClinic id (24-character hex)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
clinicYes
statusYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint, and the description adds meaningful behavioral context: the result is tenant-scoped, safe, and restricted to non-clinical metadata. This goes beyond the annotations without contradicting them, even though it does not discuss error/not-found behavior.

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?

Two short sentences, both earning their place: the first names the operation and scope, the second sets response expectations. There is no filler, redundancy, or restatement of the tool name.

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 single-parameter read-only getter with an output schema and complete annotations, the description provides sufficient context to invoke the tool correctly. The only minor gap is that it does not explicitly contrast itself with similar-looking siblings such as show_clinic_overview.

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?

The only parameter, clinicId, is already fully documented in the schema with type and format ('24-character hex'), giving 100% schema description coverage. The description adds no extra parameter details, so the baseline score of 3 is appropriate.

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 clearly identifies the operation: fetch metadata for a single clinic. It adds useful scoping with 'tenant-owned' and 'non-clinical,' which helps distinguish the tool from clinical or scheduling siblings. It does not explicitly name a sibling alternative, so it stops short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The phrase 'safe metadata' and 'Only non-clinical clinic metadata is returned' gives an agent a clear sense of when to use this tool: for basic, read-only clinic metadata rather than availability or schedule details. However, it never explicitly names an alternative or states when not to use it, so the routing is implied rather than explicit.

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