Skip to main content
Glama

Dias de maior aperto

bill_concentration
Read-only

Acha a janela de 5 dias consecutivos, dentro dos próximos 30, com maior concentração de compromissos (transações EXPENSE/INVOICE_PAYMENT não pagas + faturas de cartão não pagas vencendo no período). Só retorna algo se essa janela concentrar ≥35% do total previsto para os 30 dias — senão vem lista vazia.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "bill_concentration"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
dataYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=true; the description goes further by disclosing the exact lookahead window, qualifying transaction types, the ≥35% concentration threshold, and the empty-list behavior when the threshold is not met. This is strong behavioral disclosure with no contradiction.

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?

The description is a single dense sentence that front-loads the primary objective, clearly defines the calculation inputs, and states the conditional return. Every clause adds necessary information; there is no filler.

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

Completeness5/5

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

The description fully specifies the computation window, the types of commitments included, the threshold, and the empty-list fallback. Since an output schema exists, return-value details need not be repeated, and there are no parameters to document.

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

Parameters4/5

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

The tool has zero parameters and schema description coverage is 100%, so there is nothing for the description to add about parameters. The baseline of 4 applies.

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

Purpose5/5

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

The description states a specific action ('Acha'), a specific resource (5-day window within the next 30 days), and the exact composition of commitments. It also defines the threshold condition, making it clearly distinct from generic forecasting or anomaly-detection siblings.

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 description makes the tool's scope and threshold clear, so an agent can infer when it is relevant. However, it never explicitly says when to prefer this tool over overlapping siblings like bill_anomalies, cashflow_forecast, or spending_projection, nor does it mention exclusions.

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.