Skip to main content
Glama

FindMyDirectDoctor Healthcare Access

conditions_lookup

Read-only

Match a health condition or symptom words to a medical specialty and care type, or list the specialties. Set intent, then pass that intent's arguments. Each call costs the price of its intent in USDC (x402), only when it succeeds.

  • resolve_condition ($0.01): Match everyday health words to a condition name, listed specialties and proposed price-lookup codes. Arguments: q, limit. Required: q.

  • list_specialties ($0.01): The 53 specialties in the Foundation condition table with plain names and condition counts. Arguments: q, practice_model, include_generalist.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "intent": "<intent>"
    },
    "name": "conditions_lookup"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNoEveryday words or a condition name, for example sugar, bad back, high bp or hypertension.
limitNoConditions to return (default 5, maximum 10).
intentYesWhich lookup to run. Each intent has its own price, listed in the tool description.
practice_modelNoOnly specialties listed for this practice model.
include_generalistNofalse leaves out Family Medicine and Internal Medicine.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered. The description adds genuinely useful context beyond that: per-intent USDC pricing under x402, billed 'only when it succeeds', plus what each intent returns (condition name, specialties, price-lookup codes; specialty names and condition counts). It does not cover error behavior, limits on failed calls, or pagination, so it is solid but not complete.

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?

Front-loaded summary sentence, then one bullet per intent with price, behavior, and arguments – a structure an agent can parse quickly. The argument lists partly duplicate the schema, which is minor redundancy rather than bloat.

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?

No output schema exists, so the description carries the return-value burden and does so per intent (resolved condition, specialties, price codes; specialty list with condition counts). Pricing and success-only billing are disclosed, leaving only edge cases such as empty matches or the meaning of the max-10 limit unaddressed.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds real value the flat schema cannot: it partitions the five parameters by intent (q/limit under resolve_condition; q/practice_model/include_generalist under list_specialties) and repeats the 'Required: q' constraint. That disambiguation of a shared flat parameter bag is meaningfully above baseline.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States two specific verb+resource operations: matching everyday health words to a condition name/specialty, and listing the 53 specialties. The two intents are enumerated by name so the agent can tell exactly which operation it is selecting, and the scope (condition-to-specialty mapping plus price-lookup codes) is distinct from the clinic/cost siblings.

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?

Gives clear procedural guidance – 'Set intent, then pass that intent's arguments' – and names the arguments belonging to each intent, which is the main routing decision the agent must make. It stops short of saying when to prefer this over siblings like care_navigation or clinics_lookup, and gives no explicit when-not conditions, so it lands at a clear-but-not-exhaustive 4.

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