Skip to main content
Glama

Workflow — informações para agentes

detalhar_servico

Read-only

Consulta um serviço publicado.

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": {
      "servico": "<servico>"
    },
    "name": "detalhar_servico"
  }
}

Input Schema

NameRequiredDescriptionDefault
servicoYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.5/5.0
Behavior2/5

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

The readOnlyHint=true annotation already tells the agent this is a safe, non-mutating read, so the description carries a lighter burden. Beyond that, it only adds the adjective "publicado," implying unpublished services are not retrievable, without saying what happens on an invalid or unpublished name. It says nothing about the shape or depth of the returned detail.

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

Conciseness3/5

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

It is a single front-loaded sentence with zero filler, which is structurally clean. The problem is under-specification rather than verbosity: the one sentence is not enough for a tool whose entire behavioral contract rests on it. Brevity here costs information rather than saving it.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a simple read-only tool with one enum parameter and no output schema, so the description should at least indicate what a "detalhe" contains (fields, links, contacts). It does not, and with no output schema the agent has nothing else to learn the return shape from. The definition is thin relative to even this modest complexity.

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%, but the single parameter is a closed enum of three self-explanatory values (Direção Técnica, Comunicação, Academy/Vectorworks), which constrains input without prose. The description adds no meaning about how the service name maps to returned content or what an unknown value yields. Adequate but adds nothing beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Consulta um serviço publicado" gives a verb (consult/retrieve) and a resource (a published service), so the basic action is inferable. However, it never states what distinguishes it from sibling listar_servicos, and "consulta" is broad enough to mean lookup, fetch, or view. Purpose is recognizable but not sharply defined.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance, no mention of prerequisites, and no reference to alternatives such as listar_servicos or the related page tools. The agent must guess that this is the single-item detail lookup versus the listing tool. The word "publicado" hints at a state filter but is not framed as a usage rule.

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