Skip to main content
Glama

Sfda Drug Details

sfda_drug_details
Read-onlyIdempotent

Full SFDA record for one entry from a list returned by sfda_drug_search or sfda_drug_shortages, registration number, trade/scientific name, price, and every other field the SFDA details page shows. Sourced from www.sfda.gov.sa details_data pages. Pass the nid and id from a row's details ref.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "id": "1639",
      "nid": "17582"
    },
    "name": "sfda_drug_details"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesRow id from the details ref (numeric for drugs, a generic-name string for shortages).
nidYesList node id from the details ref (e.g. "17582" for the drugs list).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, so safety is covered. The description adds behavior the annotations don't: the data is scraped from www.sfda.gov.sa details_data pages and returns the complete field set shown on that page. It does not discuss failure modes for stale or invalid ids, which keeps it below a 5.

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?

Two tightly packed sentences with the resource and the required input provenance front-loaded. The middle clause ('registration number, trade/scientific name, price, and every other field...') is a slightly comma-spliced list but still readable and earns its place by previewing return content.

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?

There is no output schema, so the description usefully previews what comes back (full details-page field set) and where the values originate. Combined with annotations covering the safety profile and a fully documented two-parameter schema, only error/empty-result behavior is 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?

With 100% schema coverage the baseline is 3, and the description adds practical value beyond it: it tells the agent these two values come from a row's details ref rather than being user-supplied identifiers. The schema already supplies per-parameter meaning and the enum-less string formats, so no further syntax detail is needed.

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 a specific resource and scope: the full SFDA record for a single entry, naming the exact siblings that produce the list rows (sfda_drug_search, sfda_drug_shortages). This clearly separates it from the list/search tools and an agent can select it without opening the schema.

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 a clear usage prerequisite: it operates on one entry from a list returned by sfda_drug_search or sfda_drug_shortages, and the arguments come from a row's details ref. There is no explicit when-not guidance (e.g., use the search tool instead if you don't yet have a row), but the upstream dependency is unambiguous.

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.