Skip to main content
Glama

SmartDrugs

Encerrar a conexão

sair_da_comunidade
Idempotent

Encerra a conexão desta conversa com a conta da pessoa (a chave deixa de valer na hora).

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

Input Schema

NameRequiredDescriptionDefault
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.8/5.0
Behavior4/5

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

The annotations already declare this is a non-read-only, idempotent, non-destructive, closed-world operation. The description adds genuinely new behavioral detail beyond that: the key stops being valid 'na hora' (immediately), which tells the agent the effect is instantaneous rather than eventual. It does not cover error cases (e.g. already-invalid key) or whether re-entry is possible, so not a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One short sentence, no filler, with the resource and the immediate-effect consequence front-loaded. Nothing could be removed without losing information.

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 single-parameter tool with full schema coverage, no output schema, and annotations covering the safety profile, the description supplies the essential semantics. The only real gap is post-condition behavior when the key is already invalid or when the tool fails.

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% and the single parameter already documents the sdm_… format and that it comes from entrar_na_comunidade. The description refers to 'a chave' but adds no format, validation, or sourcing detail beyond the schema, so the baseline 3 applies.

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 pairs a specific verb ('Encerra') with a specific resource ('a conexão desta conversa com a conta da pessoa'), so an agent can tell this is a disconnect/logout operation. It is clear enough to distinguish from read-oriented siblings like minha_conexao, but it never names the counterpart entrar_na_comunidade or explicitly frames itself as its inverse.

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: the agent can infer it should call this when the conversation should no longer act on the person's account. There is no explicit when-to-use/when-not statement, no mention of what to do if the connection is already gone, and no sibling alternative is named.

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