Skip to main content
Glama

Product forms

dr_forms
Read-onlyIdempotent

Find product form IDs by name or list available dosage forms to use as the form filter in pharmacy product searches.

Instructions

List product forms (capsule, tablet, syrup, cream, spray, ampoule ...) with the ids dr_search takes as form.

Find the form id, then dr_search(query, form=[id]). Without query the first forms are listed.

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": "dr_forms"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo1-60.
queryNoName part, Persian or English, e.g. کپسول.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.2.0
    • changedInput schema / properties / limit / description
      Previous value: -"Forms to return, 1-60."New value: +"1-60."
    • changedInput schema / properties / query / description
      Previous value: -"Part of a form name, Persian or English, e.g. کپسول, syrup."New value: +"Name part, Persian or English, e.g. کپسول."
  2. First observedv0.1.1

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered. The description adds one genuine behavioral fact beyond that — "Without `query` the first forms are listed" — i.e. calling with no filter yields a default enumeration rather than an error. It says nothing about return shape, ordering, or what happens when the query matches nothing, so the addition is modest.

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, no filler: the resource and its examples come first, the downstream usage second, the no-query default last. Every clause carries information the agent cannot get from the name or schema.

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, fully-annotated, two-parameter read-only lookup with 100% schema coverage and no output schema, the description covers purpose, the id-to-dr_search handoff, and the no-query default. The only small gap is that it never hints at what a returned form record contains (id plus name?), which would help the agent parse results.

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%, so both `limit` and `query` are already documented in the schema, and the description does not restate `limit` at all. The only extra meaning it contributes is that `query` is optional and omitting it produces a default first-page listing, which goes slightly beyond the schema's "default: null". That is a small increment over an already complete schema, matching the baseline 3.

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?

The description opens with a specific verb and resource ("List product forms") and immediately enumerates concrete examples (capsule, tablet, syrup, cream, spray, ampoule), so the agent knows exactly what domain object is returned. It also states what the output is for — ids that dr_search consumes as `form` — which separates it from every other dr_* sibling.

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?

It gives an explicit two-step workflow: "Find the form id, then dr_search(query, form=[id])", which tells the agent both when to call this tool and which sibling to hand off to. It stops short of an explicit exclusion (e.g. "do not use this to search products"), but the routing intent is unambiguous.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.