Skip to main content
Glama

Cima Supply Problems

cima_supply_problems
Read-onlyIdempotent

Current and recent medicine-supply shortages in Spain (problemas de suministro) from AEMPS, the Spanish counterpart of the FDA/EMA shortage databases. Returns the affected product, national code (CN), AEMPS shortage-type code, start date, expected end date (open-ended if none), whether it is still active, and AEMPS's own observation text (often naming an alternative). Only the product name filters this endpoint upstream (not the lab). Answers "is there a shortage of X in Spain", "current Spanish drug supply problems". Example: cima_supply_problems({}); cima_supply_problems({ name: "eltrombopag" }). Keyless.

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": {},
    "name": "cima_supply_problems"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoMedicine name to filter by, e.g. "eltrombopag". Omit for all current supply problems.
limitNoMax rows to return (default 50, max 200)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, open-world and non-destructive semantics, yet the description still adds real value: 'Keyless' discloses the auth requirement, and 'Only the product name filters this endpoint upstream (not the lab)' documents a filtering limitation an agent could otherwise get wrong. It also flags that the expected end date is open-ended when absent, which affects interpretation of results; only rate-limit or truncation behavior beyond the limit parameter is left implicit.

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-loads the core identity and data source, then layers in return fields, filtering constraint, question phrasings, and examples; almost every sentence earns its place. The single dense paragraph and inline examples duplicate the schema's `examples` field slightly, but no information is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter, no-output-schema read tool, the description covers source, scope, returned fields, filtering limits, auth model, and example calls. An agent has everything needed to decide to call it and to construct a valid request without guessing.

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 baseline is 3; the schema already documents both `name` and `limit`. The description adds one genuinely useful constraint beyond the schema — that filtering works only on product name and not on lab — but says nothing extra about `limit` or matching semantics (exact vs. partial).

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?

Names a specific verb and resource: current and recent medicine-supply shortages in Spain from the AEMPS shortage database, plus a parenthetical gloss mapping it to the FDA/EMA equivalents and the native term 'problemas de suministro'. It even enumerates the returned fields, so an agent can tell this apart from the medicine search/detail siblings without opening any 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?

Provides concrete activation contexts via quoted user questions ("is there a shortage of X in Spain", "current Spanish drug supply problems") and two call examples covering both the unfiltered and name-filtered cases. It also warns that only product name filters upstream and not lab, which steers correct invocation. It stops short of naming an alternative sibling or stating when not to use it.

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.