Skip to main content
Glama

contaazul_list_receivables

Read-onlyIdempotent

Lista contas a receber (parcelas de receita). Filtros: tamanho_pagina (10, 20, 50 ou 100; outro valor é arredondado para baixo), pagina, data_vencimento_de, data_vencimento_ate (YYYY-MM-DD). A API do Conta Azul aceita no máximo 365 dias de vencimento por consulta; intervalos maiores (até 5 anos) são divididos automaticamente em janelas de 365 dias e o resultado volta junto, paginado e em ordem de vencimento (campo janelas_vencimento). Acima de 5 anos a chamada é recusada. Se o vencimento for omitido: com filtro de pagamento ou competência, usa esse período com 180 dias de folga de cada lado; sem filtro nenhum, usa de 182 dias atrás até 182 dias à frente; com só um lado, o outro fica a 365 dias. data_pagamento_de, data_pagamento_ate (YYYY-MM-DD, data em que foi recebido; regime de caixa, pode ser usado sozinho, sem vencimento), data_competencia_de, data_competencia_ate (YYYY-MM-DD), ids_contas_financeiras (UUIDs, via contaazul_list_financial_accounts; o item da lista não traz a conta, então para separar totais por conta filtre uma conta por chamada), ids_categorias, ids_centros_de_custo, descricao, valor_de, valor_ate, status (PERDIDO, RECEBIDO, EM_ABERTO, RENEGOCIADO, RECEBIDO_PARCIAL, ATRASADO), ids_clientes (UUIDs dos clientes).

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": "contaazul_list_receivables"
  }
}

Input Schema

NameRequiredDescriptionDefault
paginaNo
statusNo
accountNo
valor_deNo
descricaoNo
valor_ateNo
ids_clientesNo
ids_categoriasNo
tamanho_paginaNo
data_pagamento_deNo
data_pagamento_ateNo
data_vencimento_deNo
data_competencia_deNo
data_vencimento_ateNo
data_competencia_ateNo
ids_centros_de_custoNo
ids_contas_financeirasNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed12 schema fields changed
    • addedInput schema / properties / data_competencia_ate
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / data_competencia_de
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / data_pagamento_ate
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / data_pagamento_de
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / descricao
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / ids_categorias
      Added value: +{
      +  "anyOf": [
      +    {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    {
      +      "type": "string"
      +    }
      +  ]
      +}
    • addedInput schema / properties / ids_centros_de_custo
      Added value: +{
      +  "anyOf": [
      +    {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    {
      +      "type": "string"
      +    }
      +  ]
      +}
    • addedInput schema / properties / ids_clientes / anyOf
      Added value: +[
      +  {
      +    "items": {
      +      "type": "string"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "type": "string"
      +  }
      +]
    • removedInput schema / properties / ids_clientes / type
      Removed value: -"string"
    • addedInput schema / properties / ids_contas_financeiras
      Added value: +{
      +  "anyOf": [
      +    {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    {
      +      "type": "string"
      +    }
      +  ]
      +}
    • addedInput schema / properties / valor_ate
      Added value: +{
      +  "type": "number"
      +}
    • addedInput schema / properties / valor_de
      Added value: +{
      +  "type": "number"
      +}
  2. Changed7 schema fields changed
    • removedInput schema / properties / account / description
      Removed value: -"Quando o install tem mais de uma empresa Conta Azul: company_id, label, ou parcial. Ver contaazul_list_accounts."
    • removedInput schema / properties / pagina / maximum
      Removed value: -9007199254740991
    • removedInput schema / properties / pagina / minimum
      Removed value: -1
    • changedInput schema / properties / pagina / type
      Previous value: -"integer"New value: +"number"
    • removedInput schema / properties / tamanho_pagina / maximum
      Removed value: -100
    • removedInput schema / properties / tamanho_pagina / minimum
      Removed value: -1
    • changedInput schema / properties / tamanho_pagina / type
      Previous value: -"integer"New value: +"number"
  3. Changed7 schema fields changed
    • removedInput schema / properties / cliente_id
      Removed value: -{
      -  "type": "string"
      -}
    • removedInput schema / properties / cliente_ids
      Removed value: -{
      -  "description": "Bulk mode: multiple values for cliente_id",
      -  "items": {
      -    "type": "string"
      -  },
      -  "type": "array"
      -}
    • removedInput schema / properties / data_fim
      Removed value: -{
      -  "type": "string"
      -}
    • removedInput schema / properties / data_inicio
      Removed value: -{
      -  "type": "string"
      -}
    • addedInput schema / properties / data_vencimento_ate
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / data_vencimento_de
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / ids_clientes
      Added value: +{
      +  "type": "string"
      +}
  4. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true and destructiveHint=false, so safety is covered elsewhere. The description nonetheless adds substantial behavior beyond that: page-size rounding, the 365-day API cap, automatic splitting into janelas_vencimento windows up to 5 years, refusal beyond 5 years, and the 180/182/365-day default window heuristics. The remaining gap is that it never describes the shape of a returned installment beyond the note that it lacks the financial account.

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?

The purpose is front-loaded and every clause carries real information, but the body is one long run-on paragraph of semicolon-separated filters mixing pagination, date-window heuristics and filter IDs with no visual grouping. Density is justified by 17 parameters, yet the wall-of-text layout makes it harder to scan when the agent only needs one filter's semantics.

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?

For a 17-parameter read tool with no output schema and zero schema coverage, the definition is unusually complete on inputs, defaults and API limits, and it flags the janelas_vencimento return field. What it does not do is describe the returned installment fields or pagination metadata, which matters because no output schema exists to fall back on.

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

Parameters5/5

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

Schema description coverage is 0%, so the description carries the full burden, and it does: formats (YYYY-MM-DD), allowed page sizes and rounding behavior, the closed status vocabulary (PERDIDO, RECEBIDO, EM_ABERTO, RENEGOCIADO, RECEBIDO_PARCIAL, ATRASADO), UUID sourcing for ids_contas_financeiras via contaazul_list_financial_accounts, and the cash-vs-accrual meaning of data_pagamento vs data_competencia. Only the bare "account" property is left undocumented, which is a minor omission against 17 parameters.

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?

Opens with a precise verb+resource: "Lista contas a receber (parcelas de receita)", which immediately separates it from the payables sibling even though no sibling is named explicitly. The parenthetical clarifies the resource granularity (revenue installments), but the definition never states an explicit contrast with contaazul_list_payables or contaazul_list_installments.

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

Usage Guidelines4/5

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

Gives strong conditional guidance on which date filter to use: data_pagamento (regime de caixa) can be used alone without vencimento, and omitting vencimento triggers documented fallbacks depending on which other filter is present. It does not route the agent to alternative tools (e.g. payables or financial accounts beyond fetching UUIDs), so it stops short of explicit when-not guidance.

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.