Skip to main content
Glama
MCP e-Kontroll

MCP e-Kontroll

by ToniMigliato

Consultar resumo da folha de pagamento

consultar_resumo_folha_pagamento
Read-only

Retrieve the annual payroll summary for a specified year to review payroll totals and support accounting analysis.

Instructions

Consulta fechada com método, parâmetros e saída definidos em código.

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": {
      "ano": "<ano>"
    },
    "name": "consultar_resumo_folha_pagamento"
  }
}

Input Schema

NameRequiredDescriptionDefault
anoYesAno com quatro dígitos. Exemplo: 2026.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.2/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description's only extra signal is that method, parameters and output are fixed in code, which is vague and adds little – nothing about what the single year parameter scopes, what the summary aggregates, or any behavior beyond the annotations.

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

Conciseness2/5

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

It is short, but the single sentence does not earn its place: it conveys no actionable information and could be deleted without loss. Brevity here is under-specification rather than concision.

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?

An output schema and annotations exist, so return values and safety need not be explained, but for a domain-specific payroll summary tool the description still omits the one thing that matters – which payroll figures are summarized for the given year. An agent cannot judge relevance from this text.

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?

The schema has 100% description coverage for the single parameter 'ano' (including an example), so semantics are already fully carried by structured data. The description adds no interpretation of the year filter, which is acceptable given the high coverage, and the baseline of 3 applies.

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

Purpose2/5

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

The description says only that it is a 'consulta fechada' with method, parameters and output 'definidos em código' – it never states the resource (payroll summary) or what the query returns. It essentially restates the fact that the tool is a query, so an agent learns nothing beyond the name/title. No sibling differentiation is offered.

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 prerequisite, and no pointer to related tools such as consultar_extrato_folha_consolidado or consultar_extrato_folha_individual. The word 'fechada' hints at a fixed/closed query but does not tell the agent when to pick this tool instead of another payroll endpoint.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.