Skip to main content
Glama

SmartDrugs

Obter artigo

obter_artigo
Read-onlyIdempotent

Devolve o texto completo de um artigo do SmartDrugs em Markdown, pelo slug ou pelo título: resumo do estudo, nota de relevância com os critérios, ligação com as fichas do catálogo e fontes.

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

Input Schema

NameRequiredDescriptionDefault
slugYesSlug (como em /artigos/<slug>/) ou parte do título.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and a closed world, so the safety profile is covered. The description adds genuinely new behavior: the return format is Markdown and the payload includes the study summary, a relevance score with its criteria, links to catalog entries, and sources. It does not disclose failure behavior for an unknown slug.

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?

One sentence, front-loaded with the core action and return format, followed by a compact colon list of contents. Every clause carries information; the enumeration of sections is slightly dense but not wasteful.

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 one fully described parameter and no output schema, the description usefully compensates by naming the Markdown format and the sections returned. The remaining gap is edge-case behavior (slug not found, partial-title ambiguity), which is minor for a simple read tool.

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% and the single parameter already documents that it accepts a slug as in /artigos/<slug>/ or part of a title. The description restates "pelo slug ou pelo título" without adding matching rules, normalization, or ambiguity handling, so it is a baseline case where the schema does the work.

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?

States a specific verb and resource ("Devolve o texto completo de um artigo do SmartDrugs") and enumerates the returned sections, which clearly separates it from listing tools like listar_artigos and from obter_ficha. It stops short of explicitly naming those siblings as alternatives, so it is clear but not fully differentiated.

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: an agent can infer this is the fetch-one-article tool used after discovering a slug elsewhere. There is no explicit statement of when to prefer this over listar_artigos or obter_ficha, and no note on prerequisites or what happens if the slug matches nothing.

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