Skip to main content
Glama

Calcular Bolsa Família (Pré e Pós-Out/2026)

calcular_bolsa_familia
Read-onlyIdempotent

Calculates Bolsa Família benefit amounts and eligibility, including BRC, BCO, BPI, BVF, protection rule, and guaranteed return from a household profile.

Instructions

Calcula BRC, BCO, BPI, BVF, Regra de Proteção e Retorno Garantido do Bolsa Família.

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": {
      "perfil": "<perfil>"
    },
    "name": "calcular_bolsa_familia"
  }
}

Input Schema

NameRequiredDescriptionDefault
perfilYes
data_referenciaNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

C2.6/5.0
Behavior2/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 safety is covered. Beyond that the description adds nothing: it does not state that the result depends on the reference date (Pré vs Pós-Out/2026 appears only in the title), nor that inputs are anonymous profiles, nor what the computation consumes.

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 no filler, which is structurally clean, but that brevity comes at the cost of under-specification rather than economy. Nothing extraneous, yet the one sentence carries too little information for the tool's complexity.

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?

Placeholder.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is reported as 0%, so the description should compensate for the complex nested HouseholdProfile. Instead it says nothing about the required 'perfil' object (members, renda, CadÚnico status) or the optional 'data_referencia' that governs the pre/post-October-2026 rule set. Only the benefit acronyms loosely hint at what the inputs drive.

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?

The description has a specific verb ('Calcula') and resource ('Bolsa Família') and enumerates the benefit components (BRC, BCO, BPI, BVF, Regra de Proteção, Retorno Garantido). However, the acronyms are never expanded, so an agent cannot tell what each computed component actually is. It also gives no signal distinguishing it from the sibling 'simular_transicao_emprego_bolsa_familia'.

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 at all: no statement of prerequisites (CadÚnico inscription, CPF regularity), no indication of when this calculation applies versus the transition/employment simulation sibling. The agent must infer eligibility context entirely from the schema.

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