Skip to main content
Glama

SmartDrugs

Reagir a um relato

reagir_relato

Marca um relato publicado como "útil" ou "parecido comigo" em nome da pessoa (repetir a mesma reação retira). Só quando a pessoa pedir.

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": {
      "chave": "<chave>",
      "id": "<id>",
      "tipo": "<tipo>"
    },
    "name": "reagir_relato"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesId do relato (de listar_relatos).
tipoYes
chaveYesChave da conexão (sdm_…), devolvida por entrar_na_comunidade depois que a pessoa autorizou.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

The parenthetical 'repetir a mesma reação retira' discloses the toggle semantics — genuinely beyond what the annotations say and consistent with idempotentHint=false. 'Em nome da pessoa' also signals the action is attributed to the person via their connection key. It does not describe the response or failure behavior, and does not mention that removing a reaction is not destructive in the annotation's sense.

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 compact sentences with the action and valid values front-loaded, followed by the toggle caveat and the consent condition. No filler, though the nested parenthetical is slightly dense.

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 3-parameter mutation tool with no output schema and annotations already covering the safety profile, the description covers what changes, what the values mean, the toggle side effect, and the consent precondition. Only return shape and error behavior are absent, which is minor here.

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 67% and the schema already documents id and chave, so the description's main contribution is glossing the two enum values in natural language. It adds no syntax or format detail beyond the schema, making the baseline 3 appropriate.

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 states a specific verb+resource ('Marca um relato... como "útil" ou "parecido comigo"') and enumerates the exact reaction values, so an agent knows precisely what changes. It is clearly a reaction tool rather than a creation tool like enviar_relato, though it does not name any sibling explicitly.

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?

'Só quando a pessoa pedir' gives an explicit, consent-based precondition for use, which is stronger than typical usage guidance. It does not state when NOT to react or point to alternatives, so it falls short of a full when/when-not treatment.

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