{
  "notice": "bxzxxr MCP archive: a record of what public MCP servers declared when we listed them (we never call their tools). It is data, not a rating: nothing here says a server is safe, secure, verified or trustworthy, and a server can change after we looked. Secrets we detected are redacted; redacted tool lists are withheld and only their hash is shown.",
  "infrastructure": {
    "host": "api.mcp.ai",
    "site": "mcp.ai",
    "addresses": [
      {
        "address": "104.21.2.217",
        "endpoints": 1122,
        "shared_infrastructure": true,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "104.21.0.0/19",
          "country": "US"
        }
      },
      {
        "address": "172.67.129.185",
        "endpoints": 1122,
        "shared_infrastructure": true,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "172.67.128.0/20",
          "country": "US"
        }
      },
      {
        "address": "2606:4700:3032::6815:2d9",
        "endpoints": 1122,
        "shared_infrastructure": true,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "2606:4700:3032::/48",
          "country": "US"
        }
      },
      {
        "address": "2606:4700:3037::ac43:81b9",
        "endpoints": 1122,
        "shared_infrastructure": true,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "2606:4700:3037::/48",
          "country": "US"
        }
      }
    ],
    "addresses_recorded": true,
    "address_history": [
      {
        "addresses": [
          "104.21.2.217",
          "172.67.129.185",
          "2606:4700:3032::6815:2d9",
          "2606:4700:3037::ac43:81b9"
        ],
        "first_seen": "2026-11-22T23:36:02.087Z",
        "last_seen": "2026-11-22T23:36:02.087Z",
        "checks": 1
      },
      {
        "addresses": [
          "104.21.2.217",
          "172.67.129.185",
          "2606:4700:3037::ac43:81b9",
          "2606:4700:3032::6815:2d9"
        ],
        "first_seen": "2026-11-21T15:23:02.300Z",
        "last_seen": "2026-11-21T15:23:02.300Z",
        "checks": 1
      }
    ],
    "hosting": [
      {
        "value": "Cloudflare",
        "evidence": "Server header \"cloudflare\""
      }
    ],
    "software": [],
    "server_info": {
      "name": "Conta Azul MCP",
      "version": "0.9.467",
      "protocol_version": "2025-06-18"
    },
    "headers": {
      "server": "cloudflare"
    },
    "auth": null
  },
  "related": {
    "same_address": {
      "total": 1121,
      "sample": [
        {
          "id": "31813",
          "url": "https://api.mcp.ai/p_99pay",
          "server_name": "io.github.mcp-dir/99pay-mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T23:37:01.422Z"
        },
        {
          "id": "31814",
          "url": "https://api.mcp.ai/p_acordos_leniencia",
          "server_name": "io.github.mcp-dir/acordos_leniencia-mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T23:38:01.546Z"
        },
        {
          "id": "31815",
          "url": "https://api.mcp.ai/p_advbox",
          "server_name": "io.github.mcp-dir/advbox-mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T23:39:01.880Z"
        },
        {
          "id": "31816",
          "url": "https://api.mcp.ai/p_agger",
          "server_name": "io.github.mcp-dir/agger-mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T23:40:02.074Z"
        },
        {
          "id": "31817",
          "url": "https://api.mcp.ai/p_agora",
          "server_name": "io.github.mcp-dir/agora-mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T23:41:01.294Z"
        },
        {
          "id": "31818",
          "url": "https://api.mcp.ai/p_aml_vinculos",
          "server_name": "io.github.mcp-dir/aml_vinculos-mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T23:42:03.929Z"
        },
        {
          "id": "31819",
          "url": "https://api.mcp.ai/p_anatel_celular_legal",
          "server_name": "io.github.mcp-dir/anatel_celular_legal-mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T23:43:02.246Z"
        },
        {
          "id": "31820",
          "url": "https://api.mcp.ai/p_anbima_certificado",
          "server_name": "io.github.mcp-dir/anbima_certificado-mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T23:44:01.891Z"
        },
        {
          "id": "31821",
          "url": "https://api.mcp.ai/p_anp_base_distribuicao",
          "server_name": "io.github.mcp-dir/anp_base_distribuicao-mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T23:45:03.184Z"
        },
        {
          "id": "31822",
          "url": "https://api.mcp.ai/p_anp_instalacoes_simp",
          "server_name": "io.github.mcp-dir/anp_instalacoes_simp-mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T23:46:01.294Z"
        },
        {
          "id": "31823",
          "url": "https://api.mcp.ai/p_anp_postos",
          "server_name": "io.github.mcp-dir/anp_postos-mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T23:47:01.677Z"
        },
        {
          "id": "31824",
          "url": "https://api.mcp.ai/p_anp_revendas",
          "server_name": "io.github.mcp-dir/anp_revendas-mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T23:48:01.700Z"
        },
        {
          "id": "31825",
          "url": "https://api.mcp.ai/p_antecedentes_criminais_mg",
          "server_name": "io.github.mcp-dir/antecedentes_criminais_mg-mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T23:49:01.321Z"
        },
        {
          "id": "31826",
          "url": "https://api.mcp.ai/p_antecedentes_criminais_sp",
          "server_name": "io.github.mcp-dir/antecedentes_criminais_sp-mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T23:50:02.777Z"
        },
        {
          "id": "31827",
          "url": "https://api.mcp.ai/p_antecedentes_policia_civil",
          "server_name": "io.github.mcp-dir/antecedentes_policia_civil-mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T23:51:01.357Z"
        },
        {
          "id": "31828",
          "url": "https://api.mcp.ai/p_antecedentes_policia_federal",
          "server_name": "io.github.mcp-dir/antecedentes_policia_federal-mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T23:52:01.817Z"
        },
        {
          "id": "31829",
          "url": "https://api.mcp.ai/p_anthropic_billing",
          "server_name": "io.github.mcp-dir/anthropic_billing-mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T23:53:01.105Z"
        },
        {
          "id": "31830",
          "url": "https://api.mcp.ai/p_antt_frete_piso_minimo",
          "server_name": "io.github.mcp-dir/antt_frete_piso_minimo-mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T23:54:01.602Z"
        },
        {
          "id": "31831",
          "url": "https://api.mcp.ai/p_antt_operacao_transporte",
          "server_name": "io.github.mcp-dir/antt_operacao_transporte-mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T23:55:08.915Z"
        },
        {
          "id": "31832",
          "url": "https://api.mcp.ai/p_antt_produtos_perigosos",
          "server_name": "io.github.mcp-dir/antt_produtos_perigosos-mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T23:56:09.631Z"
        }
      ]
    },
    "same_site": {
      "total": 1121,
      "sample": [
        {
          "id": "29170",
          "url": "https://api.mcp.ai/banco",
          "server_name": "io.github.douglac/banco-mcp",
          "last_state": "error",
          "last_checked_at": "2026-11-22T23:35:01.992Z"
        },
        {
          "id": "31813",
          "url": "https://api.mcp.ai/p_99pay",
          "server_name": "io.github.mcp-dir/99pay-mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T23:37:01.422Z"
        },
        {
          "id": "31814",
          "url": "https://api.mcp.ai/p_acordos_leniencia",
          "server_name": "io.github.mcp-dir/acordos_leniencia-mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T23:38:01.546Z"
        },
        {
          "id": "31815",
          "url": "https://api.mcp.ai/p_advbox",
          "server_name": "io.github.mcp-dir/advbox-mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T23:39:01.880Z"
        },
        {
          "id": "31816",
          "url": "https://api.mcp.ai/p_agger",
          "server_name": "io.github.mcp-dir/agger-mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T23:40:02.074Z"
        },
        {
          "id": "31817",
          "url": "https://api.mcp.ai/p_agora",
          "server_name": "io.github.mcp-dir/agora-mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T23:41:01.294Z"
        },
        {
          "id": "31818",
          "url": "https://api.mcp.ai/p_aml_vinculos",
          "server_name": "io.github.mcp-dir/aml_vinculos-mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T23:42:03.929Z"
        },
        {
          "id": "31819",
          "url": "https://api.mcp.ai/p_anatel_celular_legal",
          "server_name": "io.github.mcp-dir/anatel_celular_legal-mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T23:43:02.246Z"
        },
        {
          "id": "31820",
          "url": "https://api.mcp.ai/p_anbima_certificado",
          "server_name": "io.github.mcp-dir/anbima_certificado-mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T23:44:01.891Z"
        },
        {
          "id": "31821",
          "url": "https://api.mcp.ai/p_anp_base_distribuicao",
          "server_name": "io.github.mcp-dir/anp_base_distribuicao-mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T23:45:03.184Z"
        },
        {
          "id": "31822",
          "url": "https://api.mcp.ai/p_anp_instalacoes_simp",
          "server_name": "io.github.mcp-dir/anp_instalacoes_simp-mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T23:46:01.294Z"
        },
        {
          "id": "31823",
          "url": "https://api.mcp.ai/p_anp_postos",
          "server_name": "io.github.mcp-dir/anp_postos-mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T23:47:01.677Z"
        },
        {
          "id": "31824",
          "url": "https://api.mcp.ai/p_anp_revendas",
          "server_name": "io.github.mcp-dir/anp_revendas-mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T23:48:01.700Z"
        },
        {
          "id": "31825",
          "url": "https://api.mcp.ai/p_antecedentes_criminais_mg",
          "server_name": "io.github.mcp-dir/antecedentes_criminais_mg-mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T23:49:01.321Z"
        },
        {
          "id": "31826",
          "url": "https://api.mcp.ai/p_antecedentes_criminais_sp",
          "server_name": "io.github.mcp-dir/antecedentes_criminais_sp-mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T23:50:02.777Z"
        },
        {
          "id": "31827",
          "url": "https://api.mcp.ai/p_antecedentes_policia_civil",
          "server_name": "io.github.mcp-dir/antecedentes_policia_civil-mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T23:51:01.357Z"
        },
        {
          "id": "31828",
          "url": "https://api.mcp.ai/p_antecedentes_policia_federal",
          "server_name": "io.github.mcp-dir/antecedentes_policia_federal-mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T23:52:01.817Z"
        },
        {
          "id": "31829",
          "url": "https://api.mcp.ai/p_anthropic_billing",
          "server_name": "io.github.mcp-dir/anthropic_billing-mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T23:53:01.105Z"
        },
        {
          "id": "31830",
          "url": "https://api.mcp.ai/p_antt_frete_piso_minimo",
          "server_name": "io.github.mcp-dir/antt_frete_piso_minimo-mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T23:54:01.602Z"
        },
        {
          "id": "31831",
          "url": "https://api.mcp.ai/p_antt_operacao_transporte",
          "server_name": "io.github.mcp-dir/antt_operacao_transporte-mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T23:55:08.915Z"
        }
      ]
    },
    "same_tool_list": {
      "total": 0,
      "sample": []
    },
    "same_publisher": {
      "publisher": "io.github.douglac",
      "total": 1,
      "sample": [
        {
          "name": "io.github.douglac/banco-mcp",
          "title": "Banco MCP"
        }
      ]
    },
    "same_repository": {
      "repository_url": "https://github.com/douglac/contaazul-mcp",
      "total": 0,
      "sample": []
    },
    "note": "Shared addresses on big platforms (Cloudflare, Vercel and the like) put unrelated servers together; those are marked shared_infrastructure. A match is a pivot, not a link between operators."
  },
  "endpoint": {
    "id": "29171",
    "server_name": "io.github.douglac/contaazul-mcp",
    "url": "https://api.mcp.ai/contaazul",
    "host": "api.mcp.ai",
    "transport": "streamable-http",
    "last_checked_at": "2026-11-22T23:36:02.087Z",
    "last_state": "listed",
    "last_detail": null,
    "consecutive_failures": 0,
    "current_sha": "89aea7cbef1c5bd898a1db1467f760a47c9e9f96fcbee9a508f4b6ff2b3abf65",
    "first_listed_at": "2026-11-21T15:23:02.300Z",
    "created_at": "2026-11-21T09:40:04.244Z",
    "resolved_addresses": [
      "104.21.2.217",
      "172.67.129.185",
      "2606:4700:3032::6815:2d9",
      "2606:4700:3037::ac43:81b9"
    ]
  },
  "server": {
    "name": "io.github.douglac/contaazul-mcp",
    "title": "Conta Azul MCP",
    "description": "Conta Azul ERP MCP — sales, customers, finance and NF-e via OAuth 2.0. Read + write, 35 tools.",
    "version": "0.1.0",
    "registry_status": "active",
    "repository_url": "https://github.com/douglac/contaazul-mcp",
    "website_url": null,
    "published_at": "2026-05-29T14:35:17.084Z",
    "updated_at": "2026-05-29T14:35:17.084Z",
    "first_seen": "2026-11-21T09:40:03.594Z"
  },
  "other_endpoints": [],
  "intel": {
    "capabilities": [
      "reads-chain",
      "takes-payment"
    ],
    "evm_addresses": [],
    "chains": [],
    "tokens": [],
    "computed_at": "2026-11-22T15:45:13.108Z"
  },
  "operator": {
    "key": "mcp.ai",
    "name": "mcp.ai",
    "platform": false,
    "marketplace": false
  },
  "needs_sign_in": false,
  "reachability": {
    "window_days": 30,
    "checks": 2,
    "answered": 2,
    "answered_percent": 100,
    "avg_listing_latency_ms": 366,
    "first_check_in_window": "2026-11-21T15:23:02.300Z",
    "consecutive_failures_now": 0,
    "days": [
      {
        "day": "2026-11-21",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      },
      {
        "day": "2026-11-22",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      }
    ]
  },
  "tool_list": {
    "sha256": "89aea7cbef1c5bd898a1db1467f760a47c9e9f96fcbee9a508f4b6ff2b3abf65",
    "tools": 58,
    "resources": 0,
    "prompts": 0,
    "first_seen": "2026-11-21T15:23:02.487Z",
    "tool_names": [
      "contaazul_list_accounts",
      "contaazul_get_company",
      "contaazul_list_people",
      "contaazul_get_person",
      "contaazul_person_write_create",
      "contaazul_person_write_update",
      "contaazul_person_delete",
      "contaazul_list_products",
      "contaazul_product_write",
      "contaazul_list_services",
      "contaazul_service_write",
      "contaazul_list_sales",
      "contaazul_list_sale_items",
      "contaazul_get_sale",
      "contaazul_sale_write_create",
      "contaazul_sale_write_update",
      "contaazul_sale_cancel",
      "contaazul_list_contracts",
      "contaazul_contract_write",
      "contaazul_list_receivables",
      "contaazul_receivable_create",
      "contaazul_list_payables",
      "contaazul_payable_create",
      "contaazul_list_installments",
      "contaazul_get_installment",
      "contaazul_update_installment",
      "contaazul_list_financial_accounts",
      "contaazul_get_account_balance",
      "contaazul_list_categories",
      "contaazul_list_cost_centers",
      "contaazul_list_invoices_nfe",
      "contaazul_get_invoice_nfe",
      "contaazul_list_invoices_nfse",
      "contaazul_settle_installment",
      "contaazul_list_settlements",
      "contaazul_get_settlement",
      "contaazul_update_settlement",
      "contaazul_delete_settlement",
      "contaazul_list_transfers",
      "contaazul_get_initial_balance",
      "contaazul_list_changed_events",
      "contaazul_generate_charge",
      "contaazul_get_charge",
      "contaazul_cancel_charge",
      "contaazul_get_contract",
      "contaazul_contract_next_number",
      "contaazul_terminate_contract",
      "contaazul_delete_contract",
      "contaazul_list_budgets",
      "contaazul_get_budget",
      "contaazul_create_budget",
      "contaazul_delete_budgets",
      "show_version",
      "report_bug",
      "connect",
      "toolkit_info",
      "marketplace",
      "authenticate"
    ],
    "declared": {
      "tools": [
        {
          "name": "contaazul_list_accounts",
          "description": "Lista as empresas Conta Azul vinculadas a este install (company_id, label).",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "account": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "contaazul_list_accounts",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "contaazul_get_company",
          "description": "Dados da empresa Conta Azul ativa (CNPJ, razão social, regime tributário).",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "account": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "contaazul_get_company",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "contaazul_list_people",
          "description": "Lista pessoas (clientes, fornecedores, vendedores, transportadores) cadastradas. Filtros via params: tamanho_pagina (10, 20, 50 ou 100), pagina, busca (nome/documento), tipo_perfil, ativo.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "ativo": {
                "type": "boolean"
              },
              "busca": {
                "type": "string"
              },
              "pagina": {
                "type": "number"
              },
              "account": {
                "type": "string"
              },
              "tipo_perfil": {
                "type": "string"
              },
              "tamanho_pagina": {
                "type": "number"
              }
            }
          },
          "annotations": {
            "title": "contaazul_list_people",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "contaazul_get_person",
          "description": "Detalhe de uma pessoa por id.\n\nBulk support: accepts ids for batched execution.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "string"
              },
              "ids": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "account": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "contaazul_get_person",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "contaazul_person_write_create",
          "description": "Cria ou atualiza uma pessoa. action=create: requer nome, tipo_pessoa e (cpf|cnpj) — passe os campos via `data` (JSON). action=update: requer id e APENAS os campos a alterar em `data` (JSON) — é update PARCIAL: o resto do cadastro fica intacto e campo que o registro não tem NÃO é exigido (dá pra trocar só o email). Enums de escrita: tipo_pessoa = Física|Jurídica|Estrangeira; perfis = [{\"tipo_perfil\":\"Cliente\"|\"Fornecedor\"|\"Transportadora\"}] (variações de caixa/acento são normalizadas). Único campo fora do update parcial é `outros_contatos`: mudá-lo obriga a substituição integral do cadastro, e aí o Conta Azul exige codigo, data_nascimento, observacao, telefone_celular e telefone_comercial preenchidos — o erro retornado diz qual falta; inclua-o no `data`.\n\n[Flattened action: create]\n\nBulk support: accepts ids for batched execution.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "data"
            ],
            "properties": {
              "id": {
                "type": "string"
              },
              "ids": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "data": {
                "type": "string"
              },
              "account": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "contaazul_person_write_create",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "contaazul_person_write_update",
          "description": "Cria ou atualiza uma pessoa. action=create: requer nome, tipo_pessoa e (cpf|cnpj) — passe os campos via `data` (JSON). action=update: requer id e APENAS os campos a alterar em `data` (JSON) — é update PARCIAL: o resto do cadastro fica intacto e campo que o registro não tem NÃO é exigido (dá pra trocar só o email). Enums de escrita: tipo_pessoa = Física|Jurídica|Estrangeira; perfis = [{\"tipo_perfil\":\"Cliente\"|\"Fornecedor\"|\"Transportadora\"}] (variações de caixa/acento são normalizadas). Único campo fora do update parcial é `outros_contatos`: mudá-lo obriga a substituição integral do cadastro, e aí o Conta Azul exige codigo, data_nascimento, observacao, telefone_celular e telefone_comercial preenchidos — o erro retornado diz qual falta; inclua-o no `data`.\n\n[Flattened action: update]\n\nBulk support: accepts ids for batched execution.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "data"
            ],
            "properties": {
              "id": {
                "type": "string"
              },
              "ids": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "data": {
                "type": "string"
              },
              "account": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "contaazul_person_write_update",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "contaazul_person_delete",
          "description": "Remove uma pessoa por id. Operação destrutiva — confirme antes.\n\nBulk support: accepts ids for batched execution.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "string"
              },
              "ids": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "account": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "contaazul_person_delete",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "contaazul_list_products",
          "description": "Lista produtos cadastrados. Filtros: tamanho_pagina (10, 20, 50 ou 100), pagina, busca, ativo.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "ativo": {
                "type": "boolean"
              },
              "busca": {
                "type": "string"
              },
              "pagina": {
                "type": "number"
              },
              "account": {
                "type": "string"
              },
              "tamanho_pagina": {
                "type": "number"
              }
            }
          },
          "annotations": {
            "title": "contaazul_list_products",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "contaazul_product_write",
          "description": "Cria um produto (nome + valor_venda obrigatórios em `data` JSON). A API v2 do Conta Azul não expõe atualização nem GET de produto por id — para consultar, use contaazul_list_products (/produto/busca) com filtro.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "data"
            ],
            "properties": {
              "data": {
                "type": "string"
              },
              "account": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "contaazul_product_write",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "contaazul_list_services",
          "description": "Lista serviços cadastrados. Paginação: pagina + tamanho_pagina (10, 20, 50 ou 100).",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "busca": {
                "type": "string"
              },
              "pagina": {
                "type": "number"
              },
              "account": {
                "type": "string"
              },
              "tamanho_pagina": {
                "type": "number"
              }
            }
          },
          "annotations": {
            "title": "contaazul_list_services",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "contaazul_service_write",
          "description": "Cria um serviço. `data` é JSON com nome, valor, etc.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "data"
            ],
            "properties": {
              "data": {
                "type": "string"
              },
              "account": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "contaazul_service_write",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "contaazul_list_sales",
          "description": "Lista vendas (GET /venda/busca). Filtros: data_inicio/data_fim (emissão, AAAA-MM-DD), data_criacao_de/ate (AAAA-MM-DD), data_alteracao_de/ate (AAAA-MM-DDTHH:MM:SS), ids_clientes, ids_vendedores, ids_categorias, ids_produtos, numeros, situacoes (enum de BUSCA: in_process, approved, invoiced, canceled, proposal, proposal_accepted, proposal_refused, scheduled, committed; sinônimos em_andamento, aprovado, faturado, cancelado, orcamento, orcamento_aceito, orcamento_recusado e agendado são convertidos), termo_busca, ordenação por numero/cliente/data. Paginação: pagina + tamanho_pagina (10, 20, 50, 100, 200, 500 ou 1000); a resposta traz total_itens, totais e quantidades por situação. data_alteracao_de e data_alteracao_ate só valem juntos na API: informe os dois; se vier só um, o outro é completado (sem _ate = agora; sem _de = 30 dias antes do _ate).\n\nBulk support: accepts cliente_ids for batched execution.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "tipos": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "pagina": {
                "type": "number"
              },
              "totais": {
                "enum": [
                  "waiting_approved",
                  "approved",
                  "canceled",
                  "all"
                ],
                "type": "string"
              },
              "account": {
                "type": "string"
              },
              "numeros": {
                "type": "array",
                "items": {
                  "type": "number"
                }
              },
              "origens": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "data_fim": {
                "type": "string"
              },
              "situacoes": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "cliente_id": {
                "type": "string"
              },
              "cliente_ids": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "data_inicio": {
                "type": "string"
              },
              "termo_busca": {
                "type": "string"
              },
              "ids_clientes": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "ids_produtos": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "status_venda": {
                "type": "string"
              },
              "ids_categorias": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "ids_vendedores": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "tamanho_pagina": {
                "type": "number"
              },
              "data_criacao_de": {
                "type": "string"
              },
              "data_criacao_ate": {
                "type": "string"
              },
              "data_alteracao_de": {
                "type": "string"
              },
              "data_alteracao_ate": {
                "type": "string"
              },
              "campo_ordenado_ascendente": {
                "enum": [
                  "numero",
                  "cliente",
                  "data"
                ],
                "type": "string"
              },
              "campo_ordenado_descendente": {
                "enum": [
                  "numero",
                  "cliente",
                  "data"
                ],
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "contaazul_list_sales",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "contaazul_list_sale_items",
          "description": "Itens (produtos/serviços, quantidade, valor) de uma ou mais vendas. Passe ids_venda (até 50); devolve um resultado por venda.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "ids_venda"
            ],
            "properties": {
              "pagina": {
                "type": "number"
              },
              "account": {
                "type": "string"
              },
              "ids_venda": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "tamanho_pagina": {
                "type": "number"
              }
            }
          },
          "annotations": {
            "title": "contaazul_list_sale_items",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "contaazul_get_sale",
          "description": "Detalhe de uma venda por id.\n\nBulk support: accepts ids for batched execution.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "string"
              },
              "ids": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "account": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "contaazul_get_sale",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "contaazul_sale_write_create",
          "description": "Cria ou atualiza venda. `data` é o payload da venda em JSON. action=create (POST /venda) — OBRIGATÓRIOS: id_cliente (UUID, via contaazul_list_people), situacao (EM_ANDAMENTO ou APROVADO), data_venda (AAAA-MM-DD), itens[] e condicao_pagamento; `numero` é obrigatório na API mas, se omitido, usamos o próximo número livre da empresa. action=update (PUT /venda/{id}, substitui a venda) — passe `id` e os mesmos campos do create; `versao` (inteiro, controle de concorrência) é obrigatório na API e, se omitido, é lido da venda atual, assim como numero, id_cliente e situacao. situacao de escrita: EM_ANDAMENTO, APROVADO, FATURADO, CANCELADO (valores da busca como approved/invoiced são convertidos).\n\n[Flattened action: create]\n\nBulk support: accepts ids for batched execution.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "data"
            ],
            "properties": {
              "id": {
                "type": "string"
              },
              "ids": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "data": {
                "type": "string"
              },
              "account": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "contaazul_sale_write_create",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "contaazul_sale_write_update",
          "description": "Cria ou atualiza venda. `data` é o payload da venda em JSON. action=create (POST /venda) — OBRIGATÓRIOS: id_cliente (UUID, via contaazul_list_people), situacao (EM_ANDAMENTO ou APROVADO), data_venda (AAAA-MM-DD), itens[] e condicao_pagamento; `numero` é obrigatório na API mas, se omitido, usamos o próximo número livre da empresa. action=update (PUT /venda/{id}, substitui a venda) — passe `id` e os mesmos campos do create; `versao` (inteiro, controle de concorrência) é obrigatório na API e, se omitido, é lido da venda atual, assim como numero, id_cliente e situacao. situacao de escrita: EM_ANDAMENTO, APROVADO, FATURADO, CANCELADO (valores da busca como approved/invoiced são convertidos).\n\n[Flattened action: update]\n\nBulk support: accepts ids for batched execution.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "data"
            ],
            "properties": {
              "id": {
                "type": "string"
              },
              "ids": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "data": {
                "type": "string"
              },
              "account": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "contaazul_sale_write_update",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "contaazul_sale_cancel",
          "description": "Cancela uma venda. Operação destrutiva — confirme antes.\n\nBulk support: accepts ids for batched execution.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "string"
              },
              "ids": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "account": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "contaazul_sale_cancel",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "contaazul_list_contracts",
          "description": "Lista contratos no intervalo de data de início (data_inicio/data_fim, YYYY-MM-DD — obrigatórios na API; se omitidos, usa janela ampla = listar todos). Filtros: pagina, tamanho_pagina (10, 20 ou 50), cliente_id, busca_textual. A API v2 não tem GET contrato por id nem cancelar/excluir.\n\nBulk support: accepts cliente_ids for batched execution.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "pagina": {
                "type": "number"
              },
              "account": {
                "type": "string"
              },
              "data_fim": {
                "type": "string"
              },
              "cliente_id": {
                "type": "string"
              },
              "cliente_ids": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "data_inicio": {
                "type": "string"
              },
              "busca_textual": {
                "type": "string"
              },
              "tamanho_pagina": {
                "type": "number"
              }
            }
          },
          "annotations": {
            "title": "contaazul_list_contracts",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "contaazul_contract_write",
          "description": "Cria um contrato. `data` é o payload em JSON.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "data"
            ],
            "properties": {
              "data": {
                "type": "string"
              },
              "account": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "contaazul_contract_write",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "contaazul_list_receivables",
          "description": "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).",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "pagina": {
                "type": "number"
              },
              "status": {
                "type": "string"
              },
              "account": {
                "type": "string"
              },
              "valor_de": {
                "type": "number"
              },
              "descricao": {
                "type": "string"
              },
              "valor_ate": {
                "type": "number"
              },
              "ids_clientes": {
                "anyOf": [
                  {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  {
                    "type": "string"
                  }
                ]
              },
              "ids_categorias": {
                "anyOf": [
                  {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  {
                    "type": "string"
                  }
                ]
              },
              "tamanho_pagina": {
                "type": "number"
              },
              "data_pagamento_de": {
                "type": "string"
              },
              "data_pagamento_ate": {
                "type": "string"
              },
              "data_vencimento_de": {
                "type": "string"
              },
              "data_competencia_de": {
                "type": "string"
              },
              "data_vencimento_ate": {
                "type": "string"
              },
              "data_competencia_ate": {
                "type": "string"
              },
              "ids_centros_de_custo": {
                "anyOf": [
                  {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  {
                    "type": "string"
                  }
                ]
              },
              "ids_contas_financeiras": {
                "anyOf": [
                  {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  {
                    "type": "string"
                  }
                ]
              }
            }
          },
          "annotations": {
            "title": "contaazul_list_receivables",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "contaazul_receivable_create",
          "description": "Cria um evento financeiro de conta a receber. `data` é o JSON do EventoFinanceiroRequest. OBRIGATÓRIOS (a chamada é recusada antes de ir à API se faltar algum): id_cliente (UUID do cliente, via contaazul_list_people; `contato` é aceito como alias), conta_financeira (UUID, via contaazul_list_financial_accounts), data_competencia (YYYY-MM-DD), descricao, valor (number > 0), rateio[] com {id_categoria (UUID, via contaazul_list_categories), valor} (rateio_centro_custo[] opcional dentro de cada item; um `id_categoria` na raiz vira rateio de 100%), condicao_pagamento.parcelas[] (cada: data_vencimento YYYY-MM-DD; descricao e conta_financeira, se omitidas, herdam as do lançamento; nota opcional; detalhe_valor:{valor_bruto obrigatório; valor_liquido derivado se omitido} — os aliases de leitura valor_composicao (o que contaazul_get_installment devolve) e de baixa composicao_valor são normalizados automaticamente pro detalhe_valor, metodo_pagamento com o enum EXATO da API: PIX_PAGAMENTO_INSTANTANEO, BOLETO_BANCARIO, TRANSFERENCIA_BANCARIA, CARTAO_CREDITO, CARTAO_DEBITO, DINHEIRO, DEPOSITO_BANCARIO, DEBITO_AUTOMATICO etc — formas curtas comuns como PIX/BOLETO/TED são normalizadas). observacao é opcional. Retorna 202 + {protocolId,status} (processamento assíncrono).",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "data"
            ],
            "properties": {
              "data": {
                "type": "string"
              },
              "account": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "contaazul_receivable_create",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "contaazul_list_payables",
          "description": "Lista contas a pagar (parcelas de despesa). 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 pago; 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). O Conta Azul usa os MESMOS status de contas a receber (RECEBIDO aqui = pago) e o mesmo formato de item — parecido com list_receivables, mas são despesas.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "pagina": {
                "type": "number"
              },
              "status": {
                "type": "string"
              },
              "account": {
                "type": "string"
              },
              "valor_de": {
                "type": "number"
              },
              "descricao": {
                "type": "string"
              },
              "valor_ate": {
                "type": "number"
              },
              "ids_categorias": {
                "anyOf": [
                  {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  {
                    "type": "string"
                  }
                ]
              },
              "tamanho_pagina": {
                "type": "number"
              },
              "data_pagamento_de": {
                "type": "string"
              },
              "data_pagamento_ate": {
                "type": "string"
              },
              "data_vencimento_de": {
                "type": "string"
              },
              "data_competencia_de": {
                "type": "string"
              },
              "data_vencimento_ate": {
                "type": "string"
              },
              "data_competencia_ate": {
                "type": "string"
              },
              "ids_centros_de_custo": {
                "anyOf": [
                  {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  {
                    "type": "string"
                  }
                ]
              },
              "ids_contas_financeiras": {
                "anyOf": [
                  {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  {
                    "type": "string"
                  }
                ]
              }
            }
          },
          "annotations": {
            "title": "contaazul_list_payables",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "contaazul_payable_create",
          "description": "Cria um evento financeiro de conta a pagar. `data` é o JSON do EventoFinanceiroRequest. OBRIGATÓRIOS (a chamada é recusada antes de ir à API se faltar algum): id_fornecedor (UUID do fornecedor, via contaazul_list_people; `contato` é aceito como alias), conta_financeira (UUID, via contaazul_list_financial_accounts), data_competencia (YYYY-MM-DD), descricao, valor (number > 0), rateio[] com {id_categoria (UUID, via contaazul_list_categories), valor} (um `id_categoria` na raiz vira rateio de 100%) e condicao_pagamento.parcelas[] (cada: data_vencimento YYYY-MM-DD e detalhe_valor:{valor_bruto obrigatório; valor_liquido derivado se omitido}; descricao e conta_financeira da parcela, se omitidas, herdam as do lançamento; os aliases valor_composicao e composicao_valor são normalizados automaticamente). metodo_pagamento da parcela usa o enum EXATO da API (PIX_PAGAMENTO_INSTANTANEO, BOLETO_BANCARIO, TRANSFERENCIA_BANCARIA, CARTAO_CREDITO, CARTAO_DEBITO, DINHEIRO etc — formas curtas como PIX/BOLETO/TED são normalizadas). Retorna 202 + {protocolId,status} (assíncrono).",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "data"
            ],
            "properties": {
              "data": {
                "type": "string"
              },
              "account": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "contaazul_payable_create",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "contaazul_list_installments",
          "description": "Lista as parcelas de UM evento financeiro (passe `id_evento`). A API v2 não tem listagem chapada de todas as parcelas — pra varrer contas a receber/pagar use contaazul_list_receivables / contaazul_list_payables.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "id_evento"
            ],
            "properties": {
              "account": {
                "type": "string"
              },
              "id_evento": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "contaazul_list_installments",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "contaazul_get_installment",
          "description": "Detalhe de uma parcela por id. `id_conta_financeira` vem preenchido com o id de `conta_financeira` quando a API o devolve nulo.\n\nBulk support: accepts ids for batched execution.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "string"
              },
              "ids": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "account": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "contaazul_get_installment",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "contaazul_update_installment",
          "description": "Atualiza campos de uma parcela (PATCH). Campos editáveis em `data` JSON: nota, descricao, vencimento (YYYY-MM-DD), composicao_valor:{valor_bruto,multa,juros,desconto,taxa,valor_liquido}, data_pagamento_esperado, metodo_pagamento, perda, nsu, pagamento_agendado, id_conta_financeira. O campo `versao` (controle de concorrência) é buscado automaticamente — não precisa passar. NÃO é editável aqui: `rateio`/`rateio_centro_custo` (categoria e centro de custo só entram na CRIAÇÃO do lançamento, via rateio[] do contaazul_payable_create / contaazul_receivable_create; o Conta Azul não deixa alterar depois). Campo fora da lista é RECUSADO com erro em vez de ser enviado, porque a API responde 200 e incrementa a versão descartando o campo em silêncio. Para registrar pagamento/baixa use contaazul_settle_installment e para estornar use contaazul_delete_settlement.\n\nBulk support: accepts ids for batched execution.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "id",
              "data"
            ],
            "properties": {
              "id": {
                "type": "string"
              },
              "ids": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "data": {
                "type": "string"
              },
              "account": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "contaazul_update_installment",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "contaazul_list_financial_accounts",
          "description": "Lista contas financeiras (banco, caixa, cartão). Filtre por `tipos`: APLICACAO, CAIXINHA, CONTA_CORRENTE, CARTAO_CREDITO, INVESTIMENTO, OUTROS, MEIOS_RECEBIMENTO, POUPANCA, COBRANCAS_CONTA_AZUL, RECEBA_FACIL_CARTAO. Para achar a conta que recebe cobranças (contaazul_generate_charge) use tipos=[\"COBRANCAS_CONTA_AZUL\"].",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "nome": {
                "type": "string"
              },
              "tipos": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "pagina": {
                "type": "number"
              },
              "account": {
                "type": "string"
              },
              "apenas_ativo": {
                "type": "boolean"
              },
              "tamanho_pagina": {
                "type": "number"
              }
            }
          },
          "annotations": {
            "title": "contaazul_list_financial_accounts",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "contaazul_get_account_balance",
          "description": "Saldo atual de uma conta financeira por id (banco/caixa/cartão). Pegue o id em contaazul_list_financial_accounts.\n\nBulk support: accepts ids for batched execution.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "string"
              },
              "ids": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "account": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "contaazul_get_account_balance",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "contaazul_list_categories",
          "description": "Lista categorias financeiras (DRE). Paginação: pagina + tamanho_pagina (10, 20, 50 ou 100).",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "tipo": {
                "type": "string"
              },
              "pagina": {
                "type": "number"
              },
              "account": {
                "type": "string"
              },
              "tamanho_pagina": {
                "type": "number"
              }
            }
          },
          "annotations": {
            "title": "contaazul_list_categories",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "contaazul_list_cost_centers",
          "description": "Lista centros de custo. Paginação: pagina + tamanho_pagina (10, 20, 50 ou 100).",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "pagina": {
                "type": "number"
              },
              "account": {
                "type": "string"
              },
              "tamanho_pagina": {
                "type": "number"
              }
            }
          },
          "annotations": {
            "title": "contaazul_list_cost_centers",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "contaazul_list_invoices_nfe",
          "description": "Lista NF-e (notas fiscais de produto) EMITIDAS ou CORRIGIDAS COM SUCESSO (a API não filtra por status). data_inicial e data_final (AAAA-MM-DD) são OBRIGATÓRIAS na API e a janela máxima dela é de 15 dias: se omitidas, usamos os últimos 15 dias; se vier só uma, a outra fica a 15 dias de distância; janela maior (ex.: um mês) é consultada em partes de 15 dias e devolvida junta (todas as páginas, campo `janelas`). Outros filtros: documento_tomador (CPF/CNPJ), numero_nota, id_venda. Paginação (só em janela de até 15 dias): pagina + tamanho_pagina (10, 20, 50 ou 100).",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "pagina": {
                "type": "number"
              },
              "account": {
                "type": "string"
              },
              "id_venda": {
                "type": "string"
              },
              "data_final": {
                "type": "string"
              },
              "numero_nota": {
                "type": "string"
              },
              "data_inicial": {
                "type": "string"
              },
              "tamanho_pagina": {
                "type": "number"
              },
              "data_emissao_fim": {
                "type": "string"
              },
              "documento_tomador": {
                "type": "string"
              },
              "data_emissao_inicio": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "contaazul_list_invoices_nfe",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "contaazul_get_invoice_nfe",
          "description": "Detalhe de uma NF-e por id.\n\nBulk support: accepts ids for batched execution.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "string"
              },
              "ids": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "account": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "contaazul_get_invoice_nfe",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "contaazul_list_invoices_nfse",
          "description": "Lista NFS-e (notas fiscais de serviço) por filtro. Exige data_competencia_de e data_competencia_ate (YYYY-MM-DD), com janela máxima de 15 dias (se omitidas, usa os últimos 15 dias; se vier só uma, a outra fica a 15 dias de distância). Outros filtros: id_cliente, numero_venda, status (PENDENTE, PRONTA_ENVIO, EMITIDA, CANCELADA…), tipo_negociacao (VENDA, CONTRATO), numero_nfse_inicial, numero_nfse_final, numero_rps_inicial, numero_rps_final.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "pagina": {
                "type": "number"
              },
              "status": {
                "type": "string"
              },
              "account": {
                "type": "string"
              },
              "id_cliente": {
                "type": "string"
              },
              "numero_venda": {
                "type": "string"
              },
              "tamanho_pagina": {
                "type": "number"
              },
              "tipo_negociacao": {
                "type": "string"
              },
              "numero_rps_final": {
                "type": "number"
              },
              "numero_nfse_final": {
                "type": "number"
              },
              "numero_rps_inicial": {
                "type": "number"
              },
              "data_competencia_de": {
                "type": "string"
              },
              "numero_nfse_inicial": {
                "type": "number"
              },
              "data_competencia_ate": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "contaazul_list_invoices_nfse",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "contaazul_settle_installment",
          "description": "Registra a baixa (recebimento/pagamento) de uma parcela. `id` é o UUID da PARCELA (via contaazul_list_receivables / _list_payables / _get_installment). `data` é o JSON da baixa: data_pagamento (YYYY-MM-DD), composicao_valor {valor_bruto, multa, juros, desconto, taxa, valor_liquido}, conta_financeira (UUID em string, via contaazul_list_financial_accounts) e metodo_pagamento, enum EXATO da API: DINHEIRO, PIX_PAGAMENTO_INSTANTANEO, BOLETO_BANCARIO, TRANSFERENCIA_BANCARIA, CARTAO_CREDITO, CARTAO_DEBITO, CARTAO_CREDITO_VIA_LINK, CHEQUE, DEPOSITO_BANCARIO, CARTEIRA_DIGITAL, CASHBACK, CREDITO_LOJA, CREDITO_VIRTUAL, OUTRO (formas curtas como PIX, BOLETO, CARTAO ou TRANSFERENCIA dão 400); observacao é opcional. O campo `versao` (controle de concorrência) é buscado automaticamente. Retorna a baixa com id_reconciliacao.\n\nBulk support: accepts ids for batched execution.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "id",
              "data"
            ],
            "properties": {
              "id": {
                "type": "string"
              },
              "ids": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "data": {
                "type": "string"
              },
              "account": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "contaazul_settle_installment",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "contaazul_list_settlements",
          "description": "Lista as baixas de uma parcela. `id` é o UUID da parcela.\n\nBulk support: accepts ids for batched execution.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "string"
              },
              "ids": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "account": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "contaazul_list_settlements",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "contaazul_get_settlement",
          "description": "Detalhe de uma baixa por id. `id` é o UUID da baixa.\n\nBulk support: accepts ids for batched execution.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "string"
              },
              "ids": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "account": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "contaazul_get_settlement",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "contaazul_update_settlement",
          "description": "Atualiza uma baixa (PATCH). `id` é o UUID da baixa. `data` é o JSON com os campos a alterar (data_pagamento, composicao_valor, conta_financeira em UUID string, metodo_pagamento com o mesmo enum de contaazul_settle_installment, observacao). O campo `versao` é buscado automaticamente.\n\nBulk support: accepts ids for batched execution.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "id",
              "data"
            ],
            "properties": {
              "id": {
                "type": "string"
              },
              "ids": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "data": {
                "type": "string"
              },
              "account": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "contaazul_update_settlement",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "contaazul_delete_settlement",
          "description": "Estorna (remove) uma baixa por id. Operação destrutiva, confirme antes. `id` é o UUID da baixa.\n\nBulk support: accepts ids for batched execution.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "string"
              },
              "ids": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "account": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "contaazul_delete_settlement",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "contaazul_list_transfers",
          "description": "Lista transferências entre contas financeiras por período (conciliação). data_inicio e data_fim (YYYY-MM-DD) com janela máxima de 1 ano (se omitidas, usa os últimos 365 dias). Paginado: pagina + tamanho_pagina (10, 20, 50, 100, 200, 500 ou 1000).",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "pagina": {
                "type": "number"
              },
              "account": {
                "type": "string"
              },
              "data_fim": {
                "type": "string"
              },
              "data_inicio": {
                "type": "string"
              },
              "tamanho_pagina": {
                "type": "number"
              }
            }
          },
          "annotations": {
            "title": "contaazul_list_transfers",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "contaazul_get_initial_balance",
          "description": "Saldos iniciais das contas financeiras por período. data_inicio e data_fim (YYYY-MM-DD ou ISO date-time; datas simples são normalizadas). Se omitidas, usa uma janela ampla.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "account": {
                "type": "string"
              },
              "data_fim": {
                "type": "string"
              },
              "data_inicio": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "contaazul_get_initial_balance",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "contaazul_list_changed_events",
          "description": "Lista os IDs de eventos financeiros alterados num período (para sync incremental / conciliação). data_inicio e data_fim (YYYY-MM-DD ou ISO date-time). Paginado. Retorna só os IDs; use contaazul_get_installment para o detalhe.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "pagina": {
                "type": "number"
              },
              "account": {
                "type": "string"
              },
              "data_fim": {
                "type": "string"
              },
              "data_inicio": {
                "type": "string"
              },
              "tamanho_pagina": {
                "type": "number"
              }
            }
          },
          "annotations": {
            "title": "contaazul_list_changed_events",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "contaazul_generate_charge",
          "description": "Gera cobrança (boleto, pix ou link de pagamento) para uma ou mais PARCELAS de contas a receber. Aceita até 50 parcelas por chamada; cada uma é emitida separadamente e uma falha não aborta o lote. `tipo` (obrigatório) aceita EXATAMENTE: BOLETO, PIX_COBRANCA ou LINK_PAGAMENTO (cartão de crédito sai por LINK_PAGAMENTO); formas comuns como boleto/pix/cartão são normalizadas. `ids_parcelas` são UUIDs de PARCELA — pegue em contaazul_list_receivables (campo `id` de cada item) ou contaazul_get_installment, NÃO o id do evento financeiro. `conta_bancaria`, `descricao_fatura` e `data_vencimento` são exigidos pela API mas resolvidos automaticamente quando omitidos: a conta de cobranças ativa da empresa (passe `conta_bancaria` se houver mais de uma, via contaazul_list_financial_accounts com tipos=COBRANCAS_CONTA_AZUL) e a descrição/vencimento da própria parcela. Parcela que já tem cobrança ativa é PULADA (sai em `ignoradas`) — use forcar=true para emitir mesmo assim. `maximo_parcelas` só vale para LINK_PAGAMENTO. Retorna {solicitadas, emitidas:[{id_parcela,id,url,status}], ignoradas, erros} — `url` é o link da cobrança. Para consultar depois use contaazul_get_charge e para cancelar contaazul_cancel_charge. A API NÃO envia o e-mail de notificação da cobrança: isso só na tela do Conta Azul.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "tipo"
            ],
            "properties": {
              "data": {
                "type": "string"
              },
              "tipo": {
                "type": "string"
              },
              "forcar": {
                "type": "boolean"
              },
              "account": {
                "type": "string"
              },
              "id_parcela": {
                "type": "string"
              },
              "ids_parcelas": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "conta_bancaria": {
                "type": "string"
              },
              "data_vencimento": {
                "type": "string"
              },
              "maximo_parcelas": {
                "type": "number"
              },
              "descricao_fatura": {
                "type": "string"
              },
              "desconto_antecipado": {
                "type": "object",
                "properties": {
                  "valor": {
                    "type": "number"
                  },
                  "percentual": {
                    "type": "number"
                  },
                  "dias_antes_vencer": {
                    "type": "number"
                  }
                }
              }
            }
          },
          "annotations": {
            "title": "contaazul_generate_charge",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "contaazul_get_charge",
          "description": "Detalhe de uma cobrança emitida por id (o `id` devolvido em contaazul_generate_charge). Retorna {id, url, status} — status vai de AGUARDANDO_CONFIRMACAO/REGISTRADO até PAGO, CANCELADO, EXPIRADO ou FALHA_EMISSAO.\n\nBulk support: accepts ids for batched execution.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "string"
              },
              "ids": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "account": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "contaazul_get_charge",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "contaazul_cancel_charge",
          "description": "CANCELA uma cobrança já emitida (boleto/pix/link deixa de ser pagável). Use quando a cobrança foi gerada errada e ainda não foi paga. Passe o `id` da cobrança (de contaazul_generate_charge ou contaazul_get_charge), NÃO o id da parcela.\n\nBulk support: accepts ids for batched execution.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "string"
              },
              "ids": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "account": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "contaazul_cancel_charge",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "contaazul_get_contract",
          "description": "Detalhe de um contrato por id (cliente, termos, condição de pagamento, composição de valor).\n\nBulk support: accepts ids for batched execution.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "string"
              },
              "ids": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "account": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "contaazul_get_contract",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "contaazul_contract_next_number",
          "description": "Retorna o próximo número de contrato disponível.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "account": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "contaazul_contract_next_number",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "contaazul_terminate_contract",
          "description": "Encerra um contrato por id. Operação sensível, confirme antes.\n\nBulk support: accepts ids for batched execution.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "string"
              },
              "ids": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "account": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "contaazul_terminate_contract",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "contaazul_delete_contract",
          "description": "Remove um contrato por id. Operação destrutiva, confirme antes.\n\nBulk support: accepts ids for batched execution.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "string"
              },
              "ids": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "account": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "contaazul_delete_contract",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "contaazul_list_budgets",
          "description": "Lista orçamentos (cliente, número, total, situação, versão). Paginado: pagina + tamanho_pagina (10, 20, 50, 100, 200, 500 ou 1000).",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "pagina": {
                "type": "number"
              },
              "account": {
                "type": "string"
              },
              "tamanho_pagina": {
                "type": "number"
              }
            }
          },
          "annotations": {
            "title": "contaazul_list_budgets",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "contaazul_get_budget",
          "description": "Detalhe de um orçamento por id (itens, cliente, composição de valor).\n\nBulk support: accepts ids for batched execution.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "string"
              },
              "ids": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "account": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "contaazul_get_budget",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "contaazul_create_budget",
          "description": "Cria um orçamento. `data` é o JSON com id_cliente (obrigatório, UUID de uma pessoa com perfil Cliente), data_orcamento (obrigatório, YYYY-MM-DD), itens[] (cada item exige id do produto/serviço + tipo/quantidade/valor), data_validade, id_vendedor e composicao_de_valor (frete, desconto).",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "data"
            ],
            "properties": {
              "data": {
                "type": "string"
              },
              "account": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "contaazul_create_budget",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "contaazul_delete_budgets",
          "description": "Exclui orçamentos em lote por id. Operação destrutiva, confirme antes. `ids` é a lista de UUIDs de orçamento (a API v2 não tem exclusão por id única).",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "ids"
            ],
            "properties": {
              "ids": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "account": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "contaazul_delete_budgets",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "show_version",
          "description": "Show the current MCP platform and adapter versions.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {}
          },
          "annotations": {
            "title": "Show Version",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "report_bug",
          "description": "Report a bug, missing feature, or send feedback. Include the conversation array with recent messages for reproduction.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "message"
            ],
            "properties": {
              "context": {
                "type": "string",
                "default": ""
              },
              "message": {
                "type": "string"
              },
              "conversation": {
                "type": "string",
                "default": "[]"
              }
            }
          },
          "annotations": {
            "title": "Report Bug",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "connect",
          "description": "Returns connection status and URLs. When all providers are connected, returns authenticated:true and empty pending[]. When credentials are missing, returns connect_url for the toolkit and per-install URLs.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {}
          },
          "annotations": {
            "title": "Connection Status",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "toolkit_info",
          "description": "Returns the current toolkit state: installed MCPs, their connection status, the accounts connected to each one, and how many catalog tools each exposes.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {}
          },
          "annotations": {
            "title": "Toolkit Info",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "marketplace",
          "description": "The official mcp.ai marketplace — the in-platform catalog of every MCP/tool, AND the way to run them. Covers capability requests like \"find an MCP that does X\", \"consulta um CPF\", \"is there a tool for Y\". Core flow: action=search discovers MCPs by intent → describe returns one MCP's full profile (every tool with its id + params, pricing, auth) so you pick the right tool_id → invoke RUNS that tool. KEY: invoke works even when the MCP is NOT installed — it runs the tool pontualmente (one-off), without adding the MCP to the toolkit and without bloating the tool list. If the MCP needs a credential/login, invoke returns a connect link; if it is paid and the wallet is empty, invoke returns a checkout/top-up link (the user opens it, then you retry). Use install only to make an MCP PERMANENT in the active toolkit (its tools then show up natively in future sessions); prefer invoke for a single/occasional use. list_tools lists what is callable right now. subscribe/cancel handle per-MCP billing; report_bug sends feedback; request_mcp asks us to build a NEW MCP when nothing fits. Search/describe flag installed_in_toolkit vs installed_in_workspace. Writes (install/uninstall/subscribe/cancel and the one-off install behind invoke) require workspace owner/admin. It also carries the mcp.ai PROMPT LIBRARY, which is about ready-made prompt TEXT rather than MCPs: search_prompts finds one, get_prompt returns its full text with {{variables}} filled, and publish_prompt saves a prompt and returns a shareable mcp.ai/p/<slug> link that opens without login.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "limit": {
                "type": "number",
                "default": 10
              },
              "query": {
                "type": "string",
                "default": ""
              },
              "action": {
                "enum": [
                  "search",
                  "describe",
                  "install",
                  "uninstall",
                  "subscribe",
                  "cancel",
                  "resume",
                  "report_bug",
                  "request_mcp",
                  "list_tools",
                  "invoke",
                  "search_prompts",
                  "get_prompt",
                  "publish_prompt"
                ],
                "type": "string",
                "default": "search"
              },
              "mcp_id": {
                "type": "string",
                "default": ""
              },
              "message": {
                "type": "string",
                "default": ""
              },
              "tool_id": {
                "type": "string",
                "default": ""
              },
              "arguments": {
                "type": "string",
                "default": "{}"
              },
              "immediate": {
                "type": "boolean",
                "default": false
              },
              "tier_slug": {
                "type": "string",
                "default": ""
              },
              "prompt_body": {
                "type": "string",
                "default": ""
              },
              "prompt_slug": {
                "type": "string",
                "default": ""
              },
              "prompt_tool": {
                "type": "string",
                "default": ""
              },
              "prompt_vars": {
                "type": "string",
                "default": "{}"
              },
              "conversation": {
                "type": "string",
                "default": "[]"
              },
              "prompt_title": {
                "type": "string",
                "default": ""
              },
              "request_name": {
                "type": "string",
                "default": ""
              },
              "cancel_reason": {
                "enum": [
                  "too_expensive",
                  "missing_features",
                  "switched_service",
                  "unused",
                  "customer_service",
                  "too_complex",
                  "low_quality",
                  "other"
                ],
                "type": "string"
              },
              "cancel_comment": {
                "type": "string",
                "default": ""
              },
              "prompt_targets": {
                "type": "array",
                "items": {
                  "enum": [
                    "claude",
                    "chatgpt",
                    "cursor",
                    "lovable"
                  ],
                  "type": "string"
                },
                "default": []
              },
              "report_context": {
                "type": "string",
                "default": ""
              },
              "prompt_category": {
                "type": "string",
                "default": ""
              },
              "request_details": {
                "type": "string",
                "default": ""
              },
              "prompt_description": {
                "type": "string",
                "default": ""
              }
            }
          },
          "annotations": {
            "title": "Marketplace",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "authenticate",
          "description": "MCP.AI for IDE agents (Cursor, etc.): log in in the browser, copy the access token. Best: add it to this server's config as a header `Authorization: Bearer <token>` for a permanent, non-expiring connection. Or paste it here for a session-only login: call with { token: \"<jwt>\" } after the user pastes, or with no args to get the link.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "token": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "Authenticate",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        }
      ],
      "tools_omitted": 0,
      "resources": [],
      "prompts": []
    },
    "instructions": "MCP.AI platform v0.9.467 | Adapters: contaazul v1.6.0. When the user asks about the version (e.g. \"qual a versão\", \"which version\"), call the show_version tool. NEW MCPs/tools/integrations (capabilities not already in this toolkit) come from the official mcp.ai catalog: the `marketplace` tool (action=search) finds and runs them. You are not authenticated yet. Call the authenticate tool first — it will give the user a browser link to log in and copy a token. No other tools will work until authenticated."
  },
  "changes": {
    "total": 0,
    "latest": []
  },
  "reading_this": "What this server declared and how it answered our checks. Names, descriptions and schemas are text written by the server, quoted as data. Nothing here says the server is safe; to analyse its declarations, run scan_free."
}