Skip to main content
Glama

TreinoAI

Ver um dado do time

obter_dado_do_time
Read-onlyIdempotent

Lê um registro de um tipo de dado do time pelo id, com os registros relacionados pedidos em include (os includes de cada tipo estão em descrever_dados_do_time). Um id que não é deste time volta como não encontrado. Só lê.

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": {
      "entity": "<entity>",
      "id": "<id>"
    },
    "name": "obter_dado_do_time"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
entityYes
includeNo

Output Schema

NameRequiredDescriptionDefault
idYes
dataYes
foundYes
notesNo
entityYes
includedNo
truncatedIncludesNo

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, destructiveHint=false and openWorldHint=false, so 'Só lê' simply repeats structured data. The one genuinely additive behavior is the tenant-isolation rule — an id belonging to another team returns as not found — which tells the agent how to interpret a miss. No mention of what happens with an invalid include value.

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?

Three short sentences, front-loaded with the read-by-id action, then the include expansion, then the not-found edge case. No filler; the cross-reference to descrever_dados_do_time earns its parenthetical.

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?

An output schema exists, so return shape need not be described, and the description covers the reading action, include expansion, and the cross-team not-found case. Remaining gap: behavior on unknown/invalid include entries and any limit on expansion depth (maxItems=12 is only in the schema).

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 0%, so the description must carry the load. It explains include and where to look up its permitted values (a strong addition), and 'tipo de dado do time' maps onto the entity enum, but the 23-value enum and the id format are left entirely to the schema.

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: reads a single team record of a given data type by id, with related records expanded via include. The phrase 'pelo id' implicitly separates it from list/buscar siblings, but no alternative is named explicitly, so an agent must infer the boundary itself.

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?

The parenthetical pointing to descrever_dados_do_time for valid include names is genuine usage guidance for the hardest parameter. However, there is no statement of when to choose this tool over buscar_dados_do_time or listar_dados_do_time, and no prerequisites (auth/scope) are mentioned.

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