Skip to main content
Glama

SmartDrugs

Comparar substâncias

comparar_substancias
Read-onlyIdempotent

Compara de 2 a 4 substâncias lado a lado: tipo, objetivos, nível de evidência, principais benefícios estudados, faixa estudada, meia-vida, efeitos citados, interações e situação no Brasil, com o desenho de cada molécula.

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

Input Schema

NameRequiredDescriptionDefault
imagensNoIncluir as moléculas (PNG).
substanciasYesSlugs ou nomes (ex.: ["cafeina", "l-teanina"]).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint=false, so the safety profile is covered. The description adds genuine value by disclosing the output dimensions (evidence level, half-life, Brazilian regulatory status, etc.) and that each molecule's structure is drawn, which matters because there is no output schema. However, it says nothing about failure behavior for unknown slugs, truncation, or what happens when fewer than 2 valid substances are given.

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?

A single front-loaded sentence that opens with the verb and cardinality before the long field enumeration. The enumeration is long but earns its place as a substitute for the missing output schema; no filler or redundant 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?

With no output schema, the description correctly compensates by listing the compared fields and noting the molecule images, which covers what the agent needs to know about results. The remaining gap is routing guidance relative to single-substance and interaction-checking siblings, which is notably absent given the crowded sibling namespace.

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 both parameters are already documented, including the 2-4 item bounds and the slug/name format example. The description restates the 2-4 limit and links the output to 'o desenho de cada molécula', which corresponds to the imagens flag, but adds no new format or validation detail beyond the schema. Baseline 3 applies when the schema does the heavy lifting.

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 uses a specific verb ('Compara') with a bounded resource ('de 2 a 4 substâncias lado a lado') and enumerates the compared dimensions, so the agent knows exactly what output to expect. It implicitly separates itself from single-substance siblings like obter_ficha by requiring a multi-item comparison, but it never names an alternative explicitly.

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

Usage Guidelines3/5

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

Usage is only implied by the cardinality constraint ('2 a 4 substâncias'): an agent can infer this is the tool for multi-substance comparison rather than a single lookup. There is no explicit when-to-use guidance, no statement of when NOT to use it, and no pointer to obter_ficha or verificar_interacoes as alternatives.

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.