Skip to main content
Glama

SmartDrugs

Entrar na comunidade

entrar_na_comunidade

Liga esta conversa à conta da pessoa na comunidade SmartDrugs, para enviar relatos, reagir a relatos e publicar comentários e perguntas em nome dela. Devolve um link e um código: mostre os dois à pessoa e peça que abra o link, entre com o Google e confira se o código é o mesmo antes de autorizar. Entrar é com a conta Google, em um clique: a SmartDrugs não cria nem guarda senha. Depois que ela disser que autorizou, use a chave devolvida aqui nas ferramentas da comunidade. A conexão vale 7 dias e pode ser encerrada na mesma página. Use só quando a pessoa pedir para enviar um relato ou participar.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "entrar_na_comunidade"
  }
}

Input Schema

NameRequiredDescriptionDefault
clienteNoNome do assistente/aplicativo (ex.: Claude), para a pessoa reconhecer a conexão.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only declare the mutation profile (readOnly=false, destructive=false, idempotent=false); the description adds the substance: a returned link plus code that the human must verify before authorizing, Google-only login with no password created or stored, a key that must be reused in other community tools afterward, and a 7-day lifetime that can be revoked on the same page. That is a full account of side effects, persistence, and the human-in-the-loop checkpoint the agent must perform. The only mild tension is openWorldHint=false for what is effectively an external-site flow, but this is a nuance rather than a contradiction.

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?

Every sentence carries information and the purpose is front-loaded, but the sequence is slightly jumbled — the human-facing verification steps arrive before the key-reuse and expiry notes, and the when-to-use clause is pushed to the very end where it would be most useful near the top.

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?

There is no output schema, and the description fully compensates by specifying the return values (link, code, key) and how to handle them. For a non-idempotent, human-mediated authentication tool, nothing an agent needs in order to call it correctly is missing.

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 description coverage is 100%, so the single `cliente` parameter is already documented as the assistant/app name. The description never references the parameter or adds meaning about how it appears to the person, so the baseline of 3 applies.

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 verb and resource — linking this conversation to the person's SmartDrugs community account — and enumerates the resulting capabilities (send reports, react, publish comments and questions on their behalf). An agent can immediately distinguish this account-linking step from the content tools in the sibling list.

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?

Ends with an explicit gating condition: "Use só quando a pessoa pedir para enviar um relato ou participar," which tells the agent not to call it proactively. It does not, however, name the counterpart tool (sair_da_comunidade) or minha_conexao as the alternative for checking/ending a connection, so routing between them is left implicit.

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