{
  "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": "notamcp.com.br",
    "site": "notamcp.com.br",
    "addresses": [
      {
        "address": "172.67.210.104",
        "endpoints": 1,
        "shared_infrastructure": false,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "172.67.208.0/20",
          "country": "US"
        }
      },
      {
        "address": "104.21.42.218",
        "endpoints": 1,
        "shared_infrastructure": false,
        "network": null
      },
      {
        "address": "2606:4700:3037::6815:2ada",
        "endpoints": 1,
        "shared_infrastructure": false,
        "network": null
      },
      {
        "address": "2606:4700:3036::ac43:d268",
        "endpoints": 1,
        "shared_infrastructure": false,
        "network": null
      }
    ],
    "addresses_recorded": true,
    "address_history": [
      {
        "addresses": [
          "172.67.210.104",
          "104.21.42.218",
          "2606:4700:3037::6815:2ada",
          "2606:4700:3036::ac43:d268"
        ],
        "first_seen": "2026-11-22T18:28:02.887Z",
        "last_seen": "2026-11-22T18:28:02.887Z",
        "checks": 1
      },
      {
        "addresses": [
          "104.21.42.218",
          "172.67.210.104",
          "2606:4700:3037::6815:2ada",
          "2606:4700:3036::ac43:d268"
        ],
        "first_seen": "2026-11-21T13:47:02.468Z",
        "last_seen": "2026-11-21T13:47:02.468Z",
        "checks": 1
      }
    ],
    "hosting": [
      {
        "value": "Cloudflare",
        "evidence": "Server header \"cloudflare\""
      }
    ],
    "software": [],
    "server_info": {
      "name": "notamcp",
      "version": "0.1.0",
      "protocol_version": "2025-06-18"
    },
    "headers": {
      "server": "cloudflare",
      "strict-transport-security": "max-age=63072000; includeSubDomains",
      "access-control-allow-origin": "*"
    },
    "auth": null
  },
  "related": {
    "same_address": {
      "total": 0,
      "sample": []
    },
    "same_site": {
      "total": 0,
      "sample": []
    },
    "same_tool_list": {
      "total": 0,
      "sample": []
    },
    "same_publisher": {
      "publisher": "io.github.CssEoCAO",
      "total": 4,
      "sample": [
        {
          "name": "io.github.CssEoCAO/baixador-do-afiliado",
          "title": "Baixador do Afiliado"
        },
        {
          "name": "io.github.CssEoCAO/bot-do-afiliado",
          "title": "Bot do Afiliado"
        },
        {
          "name": "io.github.CssEoCAO/painel-do-afiliado",
          "title": "Painel do Afiliado"
        },
        {
          "name": "io.github.CssEoCAO/pixel-do-afiliado",
          "title": "Pixel do Afiliado"
        }
      ]
    },
    "same_repository": null,
    "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": "24086",
    "server_name": "io.github.CssEoCAO/notamcp",
    "url": "https://notamcp.com.br/mcp",
    "host": "notamcp.com.br",
    "transport": "streamable-http",
    "last_checked_at": "2026-11-22T18:28:02.887Z",
    "last_state": "listed",
    "last_detail": null,
    "consecutive_failures": 0,
    "current_sha": "457386d9a8228e5b027e6f2d93d66e9e64ce2757d6f01cbaef992d665fbe3296",
    "first_listed_at": "2026-11-21T13:47:02.468Z",
    "created_at": "2026-11-21T08:15:06.991Z",
    "resolved_addresses": [
      "172.67.210.104",
      "104.21.42.218",
      "2606:4700:3037::6815:2ada",
      "2606:4700:3036::ac43:d268"
    ]
  },
  "server": {
    "name": "io.github.CssEoCAO/notamcp",
    "title": "NotaMCP",
    "description": "Issue Brazilian service invoices (NFS-e Nacional) from your AI, with preview and confirmation.",
    "version": "1.0.0",
    "registry_status": "active",
    "repository_url": null,
    "website_url": "https://notamcp.com.br",
    "published_at": "2026-10-28T12:46:03.847Z",
    "updated_at": "2026-10-28T12:46:03.847Z",
    "first_seen": "2026-11-21T08:15:06.741Z"
  },
  "other_endpoints": [],
  "intel": {
    "capabilities": [],
    "evm_addresses": [],
    "chains": [],
    "tokens": [],
    "computed_at": "2026-11-22T15:35:15.238Z"
  },
  "operator": {
    "key": "baixadorafiliado.com",
    "name": "CssEoCAO",
    "platform": false,
    "marketplace": false
  },
  "needs_sign_in": false,
  "reachability": {
    "window_days": 30,
    "checks": 2,
    "answered": 2,
    "answered_percent": 100,
    "avg_listing_latency_ms": 542,
    "first_check_in_window": "2026-11-21T13:47:02.468Z",
    "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": "457386d9a8228e5b027e6f2d93d66e9e64ce2757d6f01cbaef992d665fbe3296",
    "tools": 15,
    "resources": 0,
    "prompts": 0,
    "first_seen": "2026-11-21T13:47:03.088Z",
    "tool_names": [
      "emitir_nota",
      "listar_configuracoes",
      "confirmar_emissao",
      "consultar_nota",
      "listar_notas",
      "cancelar_nota",
      "listar_tomadores",
      "salvar_tomador",
      "saldo",
      "comprar_creditos",
      "emitir_nota_produto",
      "consultar_nota_produto",
      "listar_notas_produto",
      "cancelar_nota_produto",
      "emitente_fiscal"
    ],
    "declared": {
      "tools": [
        {
          "name": "emitir_nota",
          "title": "Preparar emissão de NFS-e (prévia)",
          "description": "Prepara uma NFS-e e devolve a PRÉVIA + confirmacao_token. NÃO emite nada. Mostre a prévia ao usuário e chame confirmar_emissao só depois do OK explícito dele. Tomador: informe tomador_id (salvo) OU tomador_doc + tomador_razao.",
          "inputSchema": {
            "type": "object",
            "required": [
              "valor",
              "discriminacao"
            ],
            "properties": {
              "valor": {
                "type": "string",
                "description": "Valor do serviço em reais, ex.: \"1250,00\"."
              },
              "tomador_id": {
                "type": "string",
                "description": "Id de um tomador salvo (listar_tomadores)."
              },
              "competencia": {
                "type": "string",
                "description": "Mês de referência YYYY-MM. Vazio = mês atual."
              },
              "tomador_doc": {
                "type": "string",
                "description": "CNPJ (14 dígitos) ou CPF (11) do tomador."
              },
              "configuracao": {
                "type": "object",
                "properties": {
                  "ctrib_mun": {
                    "type": "string",
                    "description": "Código de tributação definido pela prefeitura; vazio quando não houver."
                  },
                  "codigo_nbs": {
                    "type": "string",
                    "description": "NBS, se aplicável."
                  },
                  "codigo_cnae": {
                    "type": "string",
                    "description": "CNAE do serviço, com 7 dígitos."
                  },
                  "aliquota_iss": {
                    "type": "string",
                    "description": "Percentual do ISS quando destacado."
                  },
                  "calcular_iss": {
                    "type": "boolean"
                  },
                  "trib_federal": {
                    "type": "string",
                    "description": "Tributos federais aproximados (%)."
                  },
                  "codigo_servico": {
                    "type": "string",
                    "description": "Item da LC 116, ex.: 17.06 ou 17.06.01. Não é CNAE."
                  },
                  "trib_municipal": {
                    "type": "string",
                    "description": "Tributos municipais aproximados (%)."
                  },
                  "aliquota_simples": {
                    "type": "string",
                    "description": "Percentual efetivo do Simples."
                  }
                },
                "description": "Configuração fiscal só desta nota. Campos omitidos herdam o cadastro/configuracao_id. Nunca invente códigos fiscais."
              },
              "tomador_pais": {
                "type": "string",
                "description": "País ISO2 do tomador estrangeiro (ex.: \"SG\")."
              },
              "tomador_tipo": {
                "enum": [
                  "",
                  "exterior"
                ],
                "type": "string",
                "description": "Use \"exterior\" para tomador estrangeiro."
              },
              "discriminacao": {
                "type": "string",
                "description": "Descrição do serviço, como sai impressa na nota."
              },
              "tomador_razao": {
                "type": "string",
                "description": "Razão social ou nome do tomador."
              },
              "configuracao_id": {
                "type": "string",
                "description": "Id de uma combinação devolvida por listar_configuracoes."
              }
            }
          },
          "annotations": {
            "title": "Preparar emissão de NFS-e (prévia)",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "listar_configuracoes",
          "title": "Listar configurações fiscais recentes",
          "description": "Últimas combinações realmente usadas de serviço, CNAE, NBS e tributação. Use configuracao_id em emitir_nota. Se houver ambiguidade, pergunte ao usuário — não escolha nem invente código fiscal.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "limite": {
                "type": "integer",
                "description": "Máximo de combinações (1–20, padrão 8)."
              }
            }
          },
          "annotations": {
            "title": "Listar configurações fiscais recentes",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "confirmar_emissao",
          "title": "Confirmar e emitir a NFS-e",
          "description": "Emite DE VERDADE a nota da prévia. Chame apenas depois que o usuário aprovou a prévia nesta conversa. Idempotente: o mesmo token nunca emite duas vezes. Autorizada, devolve danfse_url (PDF) e xml_url — links para o usuário abrir, que você não consegue baixar.",
          "inputSchema": {
            "type": "object",
            "required": [
              "confirmacao_token"
            ],
            "properties": {
              "confirmacao_token": {
                "type": "string",
                "description": "Token devolvido por emitir_nota."
              }
            }
          },
          "annotations": {
            "title": "Confirmar e emitir a NFS-e",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "consultar_nota",
          "title": "Consultar uma nota",
          "description": "Situação de uma nota desta conta (status, número, chave de acesso, erro).",
          "inputSchema": {
            "type": "object",
            "required": [
              "nota_id"
            ],
            "properties": {
              "nota_id": {
                "type": "integer",
                "description": "Id da nota (veio da emissão ou de listar_notas)."
              }
            }
          },
          "annotations": {
            "title": "Consultar uma nota",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "listar_notas",
          "title": "Listar notas",
          "description": "Histórico de notas da conta, com filtros opcionais.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "limite": {
                "type": "integer",
                "description": "Máx. de notas (1–100, padrão 20)."
              },
              "status": {
                "enum": [
                  "emitida",
                  "rejeitada",
                  "pendente",
                  "cancelada",
                  "erro"
                ],
                "type": "string",
                "description": "Filtro por status."
              },
              "competencia": {
                "type": "string",
                "description": "Filtro YYYY-MM."
              }
            }
          },
          "annotations": {
            "title": "Listar notas",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "cancelar_nota",
          "title": "Cancelar uma nota",
          "description": "Cancela uma NFS-e autorizada na SEFIN. Exige confirmar=true — peça confirmação explícita ao usuário antes. O crédito da emissão NÃO volta (a nota existiu); o cancelamento é grátis.",
          "inputSchema": {
            "type": "object",
            "required": [
              "nota_id",
              "motivo",
              "confirmar"
            ],
            "properties": {
              "motivo": {
                "type": "string",
                "description": "Motivo em texto (vai para a SEFIN)."
              },
              "nota_id": {
                "type": "integer"
              },
              "confirmar": {
                "type": "boolean",
                "description": "Precisa ser true — confirmação do usuário nesta conversa."
              },
              "codigo_motivo": {
                "enum": [
                  1,
                  2,
                  4
                ],
                "type": "integer",
                "description": "1=erro na emissão · 2=serviço não prestado · 4=duplicidade."
              }
            }
          },
          "annotations": {
            "title": "Cancelar uma nota",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "listar_tomadores",
          "title": "Listar tomadores salvos",
          "description": "Tomadores salvos desta conta (use o id em emitir_nota). Passe `busca` com o NOME que o usuário falou para achar o tomador sem precisar do CNPJ — ignora acento, caixa e pontuação. Se voltar mais de um, pergunte qual antes de emitir.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "busca": {
                "type": "string",
                "description": "Nome (ou parte) da empresa, ou o documento. Ex.: \"acai\" acha \"Açaí & Cia Ltda\"."
              }
            }
          },
          "annotations": {
            "title": "Listar tomadores salvos",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "salvar_tomador",
          "title": "Salvar tomador",
          "description": "Salva/atualiza um tomador frequente (ex.: \"salva a Shopee como tomador\").",
          "inputSchema": {
            "type": "object",
            "required": [
              "razao"
            ],
            "properties": {
              "doc": {
                "type": "string",
                "description": "CNPJ ou CPF (só números ou formatado)."
              },
              "pais": {
                "type": "string",
                "description": "ISO2, só para exterior."
              },
              "tipo": {
                "enum": [
                  "",
                  "exterior"
                ],
                "type": "string"
              },
              "razao": {
                "type": "string",
                "description": "Razão social ou nome."
              }
            }
          },
          "annotations": {
            "title": "Salvar tomador",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "saldo",
          "title": "Créditos de notas e limites",
          "description": "Quantidade de notas disponíveis, preço por nota, ambiente e teto diário. O nome técnico saldo é mantido por compatibilidade.",
          "inputSchema": {
            "type": "object",
            "properties": {}
          },
          "annotations": {
            "title": "Créditos de notas e limites",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "comprar_creditos",
          "title": "Adicionar créditos de notas",
          "description": "Gera um link de pagamento (Pix/cartão) para adicionar créditos de notas. Entregue o link ao usuário — o pagamento acontece no navegador dele e as notas entram após a confirmação.",
          "inputSchema": {
            "type": "object",
            "required": [
              "valor_centavos"
            ],
            "properties": {
              "valor_centavos": {
                "enum": [
                  1000,
                  2500,
                  5000,
                  10000
                ],
                "type": "integer",
                "description": "Valor da recarga em centavos: 1000 (R$10), 2500 (R$25), 5000 (R$50) ou 10000 (R$100)."
              }
            }
          },
          "annotations": {
            "title": "Adicionar créditos de notas",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "emitir_nota_produto",
          "title": "Preparar nota de produto (NF-e ou NFC-e)",
          "description": "Prepara uma NF-e (tipo \"nfe\", venda para empresa ou pessoa com entrega) ou NFC-e (tipo \"nfce\", venda no balcão ao consumidor). NÃO emite: valida o documento de verdade (monta, assina e confere no leiaute) e devolve uma prévia com confirmacao_token. Mostre a prévia e chame confirmar_emissao só depois do OK explícito do usuário. Não há cálculo de imposto: emitente do Simples Nacional ou MEI pode omitir icms, pis e cofins nos itens; no regime normal o usuário (ou o contador) precisa informar cada grupo. Nunca invente NCM, CFOP ou CST: pergunte. Para testar sem valor fiscal e sem custo, use \"ambiente\": \"homologacao\".",
          "inputSchema": {
            "type": "object",
            "required": [
              "itens"
            ],
            "properties": {
              "tipo": {
                "enum": [
                  "nfe",
                  "nfce"
                ],
                "type": "string"
              },
              "extra": {
                "type": "object",
                "propertyNames": {
                  "type": "string",
                  "pattern": "^[A-Za-z][A-Za-z0-9]{0,40}$"
                },
                "additionalProperties": {
                  "type": "object",
                  "propertyNames": {
                    "type": "string",
                    "pattern": "^[A-Za-z][A-Za-z0-9_.]{0,40}$"
                  },
                  "additionalProperties": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 5000
                      },
                      {
                        "type": "number"
                      },
                      {
                        "type": "boolean"
                      }
                    ]
                  }
                }
              },
              "itens": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "descricao",
                    "ncm",
                    "cfop",
                    "quantidade",
                    "valor_unitario"
                  ],
                  "properties": {
                    "ii": {
                      "type": "object",
                      "propertyNames": {
                        "type": "string",
                        "pattern": "^[A-Za-z][A-Za-z0-9_.]{0,40}$"
                      },
                      "additionalProperties": {
                        "anyOf": [
                          {
                            "type": "string",
                            "maxLength": 5000
                          },
                          {
                            "type": "number"
                          },
                          {
                            "type": "boolean"
                          }
                        ]
                      }
                    },
                    "ipi": {
                      "type": "object",
                      "propertyNames": {
                        "type": "string",
                        "pattern": "^[A-Za-z][A-Za-z0-9_.]{0,40}$"
                      },
                      "additionalProperties": {
                        "anyOf": [
                          {
                            "type": "string",
                            "maxLength": 5000
                          },
                          {
                            "type": "number"
                          },
                          {
                            "type": "boolean"
                          }
                        ]
                      }
                    },
                    "ncm": {
                      "type": "string",
                      "maxLength": 10,
                      "minLength": 1
                    },
                    "pis": {
                      "type": "object",
                      "propertyNames": {
                        "type": "string",
                        "pattern": "^[A-Za-z][A-Za-z0-9_.]{0,40}$"
                      },
                      "additionalProperties": {
                        "anyOf": [
                          {
                            "type": "string",
                            "maxLength": 5000
                          },
                          {
                            "type": "number"
                          },
                          {
                            "type": "boolean"
                          }
                        ]
                      }
                    },
                    "cest": {
                      "type": "string",
                      "maxLength": 9,
                      "minLength": 1
                    },
                    "cfop": {
                      "anyOf": [
                        {
                          "type": "string",
                          "maxLength": 5,
                          "minLength": 1
                        },
                        {
                          "type": "integer",
                          "maximum": 9007199254740991,
                          "minimum": -9007199254740991
                        }
                      ]
                    },
                    "gtin": {
                      "type": "string",
                      "maxLength": 14,
                      "minLength": 1
                    },
                    "icms": {
                      "type": "object",
                      "propertyNames": {
                        "type": "string",
                        "pattern": "^[A-Za-z][A-Za-z0-9_.]{0,40}$"
                      },
                      "additionalProperties": {
                        "anyOf": [
                          {
                            "type": "string",
                            "maxLength": 5000
                          },
                          {
                            "type": "number"
                          },
                          {
                            "type": "boolean"
                          }
                        ]
                      }
                    },
                    "frete": {
                      "anyOf": [
                        {
                          "type": "number",
                          "minimum": 0
                        },
                        {
                          "type": "string",
                          "pattern": "^\\d{1,13}([.,]\\d{1,10})?$"
                        }
                      ]
                    },
                    "issqn": {
                      "type": "object",
                      "propertyNames": {
                        "type": "string",
                        "pattern": "^[A-Za-z][A-Za-z0-9_.]{0,40}$"
                      },
                      "additionalProperties": {
                        "anyOf": [
                          {
                            "type": "string",
                            "maxLength": 5000
                          },
                          {
                            "type": "number"
                          },
                          {
                            "type": "boolean"
                          }
                        ]
                      }
                    },
                    "codigo": {
                      "type": "string",
                      "maxLength": 60,
                      "minLength": 1
                    },
                    "cofins": {
                      "type": "object",
                      "propertyNames": {
                        "type": "string",
                        "pattern": "^[A-Za-z][A-Za-z0-9_.]{0,40}$"
                      },
                      "additionalProperties": {
                        "anyOf": [
                          {
                            "type": "string",
                            "maxLength": 5000
                          },
                          {
                            "type": "number"
                          },
                          {
                            "type": "boolean"
                          }
                        ]
                      }
                    },
                    "origem": {
                      "type": "integer",
                      "maximum": 8,
                      "minimum": 0
                    },
                    "pedido": {
                      "type": "string",
                      "maxLength": 15,
                      "minLength": 1
                    },
                    "pis_st": {
                      "type": "object",
                      "propertyNames": {
                        "type": "string",
                        "pattern": "^[A-Za-z][A-Za-z0-9_.]{0,40}$"
                      },
                      "additionalProperties": {
                        "anyOf": [
                          {
                            "type": "string",
                            "maxLength": 5000
                          },
                          {
                            "type": "number"
                          },
                          {
                            "type": "boolean"
                          }
                        ]
                      }
                    },
                    "seguro": {
                      "anyOf": [
                        {
                          "type": "number",
                          "minimum": 0
                        },
                        {
                          "type": "string",
                          "pattern": "^\\d{1,13}([.,]\\d{1,10})?$"
                        }
                      ]
                    },
                    "unidade": {
                      "type": "string",
                      "maxLength": 6,
                      "minLength": 1
                    },
                    "veiculo": {
                      "type": "object",
                      "propertyNames": {
                        "type": "string",
                        "pattern": "^[A-Za-z][A-Za-z0-9_.]{0,40}$"
                      },
                      "additionalProperties": {
                        "anyOf": [
                          {
                            "type": "string",
                            "maxLength": 5000
                          },
                          {
                            "type": "number"
                          },
                          {
                            "type": "boolean"
                          }
                        ]
                      }
                    },
                    "desconto": {
                      "anyOf": [
                        {
                          "type": "number",
                          "minimum": 0
                        },
                        {
                          "type": "string",
                          "pattern": "^\\d{1,13}([.,]\\d{1,10})?$"
                        }
                      ]
                    },
                    "cofins_st": {
                      "type": "object",
                      "propertyNames": {
                        "type": "string",
                        "pattern": "^[A-Za-z][A-Za-z0-9_.]{0,40}$"
                      },
                      "additionalProperties": {
                        "anyOf": [
                          {
                            "type": "string",
                            "maxLength": 5000
                          },
                          {
                            "type": "number"
                          },
                          {
                            "type": "boolean"
                          }
                        ]
                      }
                    },
                    "descricao": {
                      "type": "string",
                      "maxLength": 120,
                      "minLength": 1
                    },
                    "quantidade": {
                      "anyOf": [
                        {
                          "type": "number",
                          "minimum": 0
                        },
                        {
                          "type": "string",
                          "pattern": "^\\d{1,13}([.,]\\d{1,10})?$"
                        }
                      ]
                    },
                    "combustivel": {
                      "type": "object",
                      "propertyNames": {
                        "type": "string",
                        "pattern": "^[A-Za-z][A-Za-z0-9_.]{0,40}$"
                      },
                      "additionalProperties": {
                        "anyOf": [
                          {
                            "type": "string",
                            "maxLength": 5000
                          },
                          {
                            "type": "number"
                          },
                          {
                            "type": "boolean"
                          }
                        ]
                      }
                    },
                    "item_pedido": {
                      "anyOf": [
                        {
                          "type": "string",
                          "maxLength": 6,
                          "minLength": 1
                        },
                        {
                          "type": "integer",
                          "maximum": 9007199254740991,
                          "minimum": -9007199254740991
                        }
                      ]
                    },
                    "valor_total": {
                      "anyOf": [
                        {
                          "type": "number",
                          "minimum": 0
                        },
                        {
                          "type": "string",
                          "pattern": "^\\d{1,13}([.,]\\d{1,10})?$"
                        }
                      ]
                    },
                    "compoe_total": {
                      "type": "boolean"
                    },
                    "icms_uf_dest": {
                      "type": "object",
                      "propertyNames": {
                        "type": "string",
                        "pattern": "^[A-Za-z][A-Za-z0-9_.]{0,40}$"
                      },
                      "additionalProperties": {
                        "anyOf": [
                          {
                            "type": "string",
                            "maxLength": 5000
                          },
                          {
                            "type": "number"
                          },
                          {
                            "type": "boolean"
                          }
                        ]
                      }
                    },
                    "valor_unitario": {
                      "anyOf": [
                        {
                          "type": "number",
                          "minimum": 0
                        },
                        {
                          "type": "string",
                          "pattern": "^\\d{1,13}([.,]\\d{1,10})?$"
                        }
                      ]
                    },
                    "gtin_tributavel": {
                      "type": "string",
                      "maxLength": 14,
                      "minLength": 1
                    },
                    "outras_despesas": {
                      "anyOf": [
                        {
                          "type": "number",
                          "minimum": 0
                        },
                        {
                          "type": "string",
                          "pattern": "^\\d{1,13}([.,]\\d{1,10})?$"
                        }
                      ]
                    },
                    "codigo_beneficio": {
                      "type": "string",
                      "maxLength": 10,
                      "minLength": 1
                    },
                    "unidade_tributavel": {
                      "type": "string",
                      "maxLength": 6,
                      "minLength": 1
                    },
                    "quantidade_tributavel": {
                      "anyOf": [
                        {
                          "type": "number",
                          "minimum": 0
                        },
                        {
                          "type": "string",
                          "pattern": "^\\d{1,13}([.,]\\d{1,10})?$"
                        }
                      ]
                    },
                    "informacoes_adicionais": {
                      "type": "string",
                      "maxLength": 500,
                      "minLength": 1
                    },
                    "valor_tributos_aproximado": {
                      "anyOf": [
                        {
                          "type": "number",
                          "minimum": 0
                        },
                        {
                          "type": "string",
                          "pattern": "^\\d{1,13}([.,]\\d{1,10})?$"
                        }
                      ]
                    },
                    "valor_unitario_tributavel": {
                      "anyOf": [
                        {
                          "type": "number",
                          "minimum": 0
                        },
                        {
                          "type": "string",
                          "pattern": "^\\d{1,13}([.,]\\d{1,10})?$"
                        }
                      ]
                    }
                  },
                  "additionalProperties": false
                },
                "maxItems": 990,
                "minItems": 1
              },
              "serie": {
                "type": "integer",
                "maximum": 889,
                "minimum": 0
              },
              "troco": {
                "anyOf": [
                  {
                    "type": "number",
                    "minimum": 0
                  },
                  {
                    "type": "string",
                    "pattern": "^\\d{1,13}([.,]\\d{1,10})?$"
                  }
                ]
              },
              "numero": {
                "type": "integer",
                "maximum": 999999999,
                "minimum": 1
              },
              "ambiente": {
                "enum": [
                  "producao",
                  "homologacao"
                ],
                "type": "string"
              },
              "cobranca": {
                "type": "object",
                "properties": {
                  "fatura": {
                    "type": "object",
                    "properties": {
                      "numero": {
                        "type": "string",
                        "maxLength": 60,
                        "minLength": 1
                      },
                      "desconto": {
                        "anyOf": [
                          {
                            "type": "number",
                            "minimum": 0
                          },
                          {
                            "type": "string",
                            "pattern": "^\\d{1,13}([.,]\\d{1,10})?$"
                          }
                        ]
                      },
                      "valor_liquido": {
                        "anyOf": [
                          {
                            "type": "number",
                            "minimum": 0
                          },
                          {
                            "type": "string",
                            "pattern": "^\\d{1,13}([.,]\\d{1,10})?$"
                          }
                        ]
                      },
                      "valor_original": {
                        "anyOf": [
                          {
                            "type": "number",
                            "minimum": 0
                          },
                          {
                            "type": "string",
                            "pattern": "^\\d{1,13}([.,]\\d{1,10})?$"
                          }
                        ]
                      }
                    },
                    "additionalProperties": false
                  },
                  "duplicatas": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "vencimento",
                        "valor"
                      ],
                      "properties": {
                        "valor": {
                          "anyOf": [
                            {
                              "type": "number",
                              "minimum": 0
                            },
                            {
                              "type": "string",
                              "pattern": "^\\d{1,13}([.,]\\d{1,10})?$"
                            }
                          ]
                        },
                        "numero": {
                          "type": "string",
                          "maxLength": 60,
                          "minLength": 1
                        },
                        "vencimento": {
                          "type": "string",
                          "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
                        }
                      },
                      "additionalProperties": false
                    },
                    "maxItems": 120
                  }
                },
                "additionalProperties": false
              },
              "presenca": {
                "anyOf": [
                  {
                    "type": "number",
                    "const": 0
                  },
                  {
                    "type": "number",
                    "const": 1
                  },
                  {
                    "type": "number",
                    "const": 2
                  },
                  {
                    "type": "number",
                    "const": 3
                  },
                  {
                    "type": "number",
                    "const": 4
                  },
                  {
                    "type": "number",
                    "const": 5
                  },
                  {
                    "type": "number",
                    "const": 9
                  }
                ]
              },
              "finalidade": {
                "enum": [
                  "normal",
                  "complementar",
                  "ajuste",
                  "devolucao"
                ],
                "type": "string"
              },
              "pagamentos": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "forma",
                    "valor"
                  ],
                  "properties": {
                    "forma": {
                      "type": "string",
                      "maxLength": 20,
                      "minLength": 1
                    },
                    "valor": {
                      "anyOf": [
                        {
                          "type": "number",
                          "minimum": 0
                        },
                        {
                          "type": "string",
                          "pattern": "^\\d{1,13}([.,]\\d{1,10})?$"
                        }
                      ]
                    },
                    "cartao": {
                      "type": "object",
                      "properties": {
                        "bandeira": {
                          "type": "string",
                          "maxLength": 2,
                          "minLength": 1
                        },
                        "integracao": {
                          "anyOf": [
                            {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "minimum": 0
                            },
                            {
                              "type": "string",
                              "pattern": "^\\d{1,2}$"
                            }
                          ]
                        },
                        "autorizacao": {
                          "type": "string",
                          "maxLength": 128,
                          "minLength": 1
                        },
                        "cnpj_credenciadora": {
                          "type": "string",
                          "maxLength": 18,
                          "minLength": 11
                        }
                      },
                      "additionalProperties": false
                    },
                    "a_prazo": {
                      "type": "boolean"
                    },
                    "descricao": {
                      "type": "string",
                      "maxLength": 60,
                      "minLength": 1
                    }
                  },
                  "additionalProperties": false
                },
                "maxItems": 100,
                "minItems": 1
              },
              "transporte": {
                "type": "object",
                "properties": {
                  "veiculo": {
                    "type": "object",
                    "properties": {
                      "uf": {
                        "type": "string",
                        "maxLength": 2,
                        "minLength": 2
                      },
                      "rntc": {
                        "type": "string",
                        "maxLength": 20,
                        "minLength": 1
                      },
                      "placa": {
                        "type": "string",
                        "maxLength": 8,
                        "minLength": 1
                      }
                    },
                    "additionalProperties": false
                  },
                  "volumes": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "marca": {
                          "type": "string",
                          "maxLength": 60,
                          "minLength": 1
                        },
                        "especie": {
                          "type": "string",
                          "maxLength": 60,
                          "minLength": 1
                        },
                        "numeracao": {
                          "type": "string",
                          "maxLength": 60,
                          "minLength": 1
                        },
                        "peso_bruto": {
                          "anyOf": [
                            {
                              "type": "number",
                              "minimum": 0
                            },
                            {
                              "type": "string",
                              "pattern": "^\\d{1,13}([.,]\\d{1,10})?$"
                            }
                          ]
                        },
                        "quantidade": {
                          "type": "integer",
                          "maximum": 9007199254740991,
                          "minimum": 0
                        },
                        "peso_liquido": {
                          "anyOf": [
                            {
                              "type": "number",
                              "minimum": 0
                            },
                            {
                              "type": "string",
                              "pattern": "^\\d{1,13}([.,]\\d{1,10})?$"
                            }
                          ]
                        }
                      },
                      "additionalProperties": false
                    },
                    "maxItems": 100
                  },
                  "transportadora": {
                    "type": "object",
                    "properties": {
                      "ie": {
                        "type": "string",
                        "maxLength": 20,
                        "minLength": 1
                      },
                      "uf": {
                        "type": "string",
                        "maxLength": 2,
                        "minLength": 2
                      },
                      "cpf": {
                        "type": "string",
                        "maxLength": 18,
                        "minLength": 11
                      },
                      "cnpj": {
                        "type": "string",
                        "maxLength": 18,
                        "minLength": 11
                      },
                      "nome": {
                        "type": "string",
                        "maxLength": 60,
                        "minLength": 1
                      },
                      "endereco": {
                        "type": "string",
                        "maxLength": 60,
                        "minLength": 1
                      },
                      "municipio": {
                        "type": "string",
                        "maxLength": 60,
                        "minLength": 1
                      }
                    },
                    "additionalProperties": false
                  },
                  "modalidade_frete": {
                    "anyOf": [
                      {
                        "type": "number",
                        "const": 0
                      },
                      {
                        "type": "number",
                        "const": 1
                      },
                      {
                        "type": "number",
                        "const": 2
                      },
                      {
                        "type": "number",
                        "const": 3
                      },
                      {
                        "type": "number",
                        "const": 4
                      },
                      {
                        "type": "number",
                        "const": 9
                      }
                    ]
                  }
                },
                "additionalProperties": false
              },
              "destinatario": {
                "type": "object",
                "properties": {
                  "ie": {
                    "type": "string",
                    "maxLength": 20,
                    "minLength": 1
                  },
                  "cpf": {
                    "type": "string",
                    "maxLength": 18,
                    "minLength": 11
                  },
                  "cnpj": {
                    "type": "string",
                    "maxLength": 18,
                    "minLength": 11
                  },
                  "nome": {
                    "type": "string",
                    "maxLength": 60,
                    "minLength": 1
                  },
                  "email": {
                    "type": "string",
                    "maxLength": 60
                  },
                  "ind_ie": {
                    "anyOf": [
                      {
                        "type": "number",
                        "const": 1
                      },
                      {
                        "type": "number",
                        "const": 2
                      },
                      {
                        "type": "number",
                        "const": 9
                      }
                    ]
                  },
                  "suframa": {
                    "type": "string",
                    "maxLength": 9,
                    "minLength": 1
                  },
                  "endereco": {
                    "type": "object",
                    "properties": {
                      "uf": {
                        "type": "string",
                        "maxLength": 2,
                        "minLength": 2
                      },
                      "cep": {
                        "type": "string",
                        "maxLength": 9,
                        "minLength": 1
                      },
                      "pais": {
                        "type": "string",
                        "maxLength": 60,
                        "minLength": 1
                      },
                      "bairro": {
                        "type": "string",
                        "maxLength": 60,
                        "minLength": 1
                      },
                      "numero": {
                        "anyOf": [
                          {
                            "type": "string",
                            "maxLength": 60,
                            "minLength": 1
                          },
                          {
                            "type": "integer",
                            "maximum": 9007199254740991,
                            "minimum": 0
                          }
                        ]
                      },
                      "telefone": {
                        "type": "string",
                        "maxLength": 20,
                        "minLength": 1
                      },
                      "municipio": {
                        "type": "string",
                        "maxLength": 60,
                        "minLength": 1
                      },
                      "logradouro": {
                        "type": "string",
                        "maxLength": 60,
                        "minLength": 1
                      },
                      "codigo_pais": {
                        "anyOf": [
                          {
                            "type": "string",
                            "maxLength": 4,
                            "minLength": 1
                          },
                          {
                            "type": "integer",
                            "maximum": 9007199254740991,
                            "minimum": -9007199254740991
                          }
                        ]
                      },
                      "complemento": {
                        "type": "string",
                        "maxLength": 60,
                        "minLength": 1
                      },
                      "codigo_municipio": {
                        "anyOf": [
                          {
                            "type": "string",
                            "maxLength": 7,
                            "minLength": 1
                          },
                          {
                            "type": "integer",
                            "maximum": 9007199254740991,
                            "minimum": -9007199254740991
                          }
                        ]
                      }
                    },
                    "additionalProperties": false
                  },
                  "id_estrangeiro": {
                    "type": "string",
                    "maxLength": 20,
                    "minLength": 1
                  },
                  "inscricao_municipal": {
                    "type": "string",
                    "maxLength": 15,
                    "minLength": 1
                  }
                },
                "additionalProperties": false
              },
              "intermediador": {
                "type": "object",
                "required": [
                  "cnpj",
                  "identificador"
                ],
                "properties": {
                  "cnpj": {
                    "type": "string",
                    "maxLength": 18,
                    "minLength": 11
                  },
                  "identificador": {
                    "type": "string",
                    "maxLength": 60,
                    "minLength": 1
                  }
                },
                "additionalProperties": false
              },
              "autorizados_xml": {
                "type": "array",
                "items": {
                  "type": "string",
                  "maxLength": 18,
                  "minLength": 11
                },
                "maxItems": 10
              },
              "consumidor_final": {
                "type": "boolean"
              },
              "informacoes_fisco": {
                "type": "string",
                "maxLength": 2000,
                "minLength": 1
              },
              "natureza_operacao": {
                "type": "string",
                "maxLength": 60,
                "minLength": 1
              },
              "notas_referenciadas": {
                "type": "array",
                "items": {
                  "type": "string",
                  "pattern": "^\\d{44}$"
                },
                "maxItems": 500
              },
              "informacoes_complementares": {
                "type": "string",
                "maxLength": 5000,
                "minLength": 1
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Preparar nota de produto (NF-e ou NFC-e)",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "consultar_nota_produto",
          "title": "Consultar nota de produto",
          "description": "Situação de uma NF-e ou NFC-e desta conta: status, número, chave de acesso e, se rejeitada, o motivo que a SEFAZ deu. Traz xml_url e pdf_url, que exigem a chave de API: entregue os links, não diga que leu os arquivos.",
          "inputSchema": {
            "type": "object",
            "required": [
              "tipo",
              "id"
            ],
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^[a-z0-9]{20,32}$"
              },
              "tipo": {
                "enum": [
                  "nfe",
                  "nfce"
                ],
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Consultar nota de produto",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "listar_notas_produto",
          "title": "Listar notas de produto",
          "description": "Últimas NF-e ou NFC-e da conta, da mais nova para a mais antiga.",
          "inputSchema": {
            "type": "object",
            "required": [
              "tipo"
            ],
            "properties": {
              "tipo": {
                "enum": [
                  "nfe",
                  "nfce"
                ],
                "type": "string"
              },
              "limite": {
                "type": "integer",
                "maximum": 50,
                "minimum": 1
              },
              "status": {
                "enum": [
                  "enviando",
                  "pendente",
                  "autorizada",
                  "rejeitada",
                  "denegada",
                  "cancelada",
                  "encerrada"
                ],
                "type": "string"
              },
              "ambiente": {
                "enum": [
                  "producao",
                  "homologacao"
                ],
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Listar notas de produto",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "cancelar_nota_produto",
          "title": "Cancelar nota de produto",
          "description": "Cancela uma NF-e ou NFC-e autorizada. Efeito fiscal que não se desfaz: chame só com pedido explícito do usuário, com a justificativa dele (15 a 255 caracteres) e confirmar=true. O prazo é o da legislação; fora dele a SEFAZ recusa. O crédito da emissão não volta.",
          "inputSchema": {
            "type": "object",
            "required": [
              "tipo",
              "id",
              "justificativa",
              "confirmar"
            ],
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^[a-z0-9]{20,32}$"
              },
              "tipo": {
                "enum": [
                  "nfe",
                  "nfce"
                ],
                "type": "string"
              },
              "confirmar": {
                "type": "boolean",
                "const": true
              },
              "justificativa": {
                "type": "string",
                "maxLength": 255,
                "minLength": 15
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Cancelar nota de produto",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "emitente_fiscal",
          "title": "Ver ou ajustar os dados fiscais do emitente",
          "description": "Sem argumentos, mostra o que falta para emitir nota de produto (inscrição estadual, regime tributário, séries). Com argumentos, grava: ie (inscrição estadual), crt (1 Simples Nacional, 2 Simples com excesso de sublimite, 3 regime normal, 4 MEI), fantasia, telefone e o próximo número de cada série. O CSC da NFC-e é segredo e se cadastra pela API ou pelo painel, não por aqui.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "ie": {
                "type": "string",
                "maxLength": 20,
                "minLength": 2
              },
              "crt": {
                "enum": [
                  "1",
                  "2",
                  "3",
                  "4"
                ],
                "type": "string"
              },
              "csc_id": {
                "type": "string",
                "maxLength": 6
              },
              "series": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "modelo",
                    "serie",
                    "proximo"
                  ],
                  "properties": {
                    "serie": {
                      "type": "integer",
                      "maximum": 889,
                      "minimum": 0
                    },
                    "modelo": {
                      "enum": [
                        "nfe",
                        "nfce",
                        "cte",
                        "mdfe"
                      ],
                      "type": "string"
                    },
                    "proximo": {
                      "type": "integer",
                      "maximum": 999999999,
                      "minimum": 1
                    },
                    "ambiente": {
                      "enum": [
                        "producao",
                        "homologacao"
                      ],
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                },
                "maxItems": 40
              },
              "fantasia": {
                "type": "string",
                "maxLength": 60
              },
              "telefone": {
                "type": "string",
                "maxLength": 20
              },
              "csc_homologacao_id": {
                "type": "string",
                "maxLength": 6
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Ver ou ajustar os dados fiscais do emitente",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        }
      ],
      "tools_omitted": 0,
      "resources": [],
      "prompts": []
    },
    "instructions": "Você está conectado ao notas.dev: emissão de NFS-e Nacional (nota\nfiscal de serviço brasileira) com o certificado A1 do próprio usuário. Pré-pago:\ncada nota AUTORIZADA debita créditos; rejeição não cobra.\n\nREGRA INEGOCIÁVEL: emitir_nota NÃO emite — devolve uma prévia e um confirmacao_token.\nMostre a prévia ao usuário e chame confirmar_emissao SOMENTE depois de um OK explícito\ndele nesta conversa. Nunca confirme por conta própria; nota fiscal é documento\nirreversível com valor legal.\n\n• Emitir nota → emitir_nota (prévia) → [usuário aprova] → confirmar_emissao.\n• Situação de uma nota → consultar_nota; histórico → listar_notas.\n• Cancelar → cancelar_nota com motivo e confirmar=true (também só após OK do usuário;\n  cancelamento não devolve o crédito da emissão).\n• Tomadores frequentes → salvar_tomador / listar_tomadores (use tomador_id ao emitir).\n• Serviços usados recentemente → listar_configuracoes (use configuracao_id ao emitir).\n• Créditos e limites → saldo.\n\nNOME DA EMPRESA: se o usuário disser o nome do cliente em vez do CNPJ, chame\nlistar_tomadores com `busca` e use o tomador_id do resultado. Voltando MAIS DE UM,\npergunte qual — nunca escolha sozinho: nota no CNPJ errado só se desfaz por\ncancelamento. Não achou nenhum, peça o CNPJ/CPF (não existe busca por nome em base\npública) e salve com salvar_tomador para não perguntar de novo.\n\nCONFIGURAÇÃO FISCAL: cada nota pode usar serviço, CNAE, NBS e tributação diferentes.\nQuando o usuário mencionar um serviço já usado, chame listar_configuracoes e use o\nconfiguracao_id. Se houver mais de uma combinação plausível, pergunte qual; nunca\ninvente CNAE/código fiscal. A prévia devolve a combinação exata que será emitida.\n\nDOCUMENTOS: nota emitida traz danfse_url (PDF) e xml_url. São LINKS do painel, para o\nusuário abrir no navegador estando logado em notas.dev — você NÃO consegue baixar\nnem ler esses arquivos. Entregue a URL ao usuário; nunca afirme que leu ou anexou o PDF.\n\nSem login dá para ver a lista de ferramentas; ao chamar qualquer uma, o app abre o login do notas.dev.\n\nNOTA DE PRODUTO (NF-e e NFC-e): mesma regra inegociável da NFS-e. emitir_nota_produto NÃO emite: devolve uma prévia já validada e um confirmacao_token. Mostre a prévia e chame confirmar_emissao só depois do OK explícito do usuário nesta conversa.\n• NF-e (\"tipo\": \"nfe\") é a venda com destinatário identificado; NFC-e (\"tipo\": \"nfce\") é a venda no balcão ao consumidor.\n• Nunca invente NCM, CFOP, CST, alíquota ou valor de imposto: pergunte ao usuário. Emitente do Simples Nacional ou MEI pode omitir os grupos de imposto dos itens.\n• Antes da primeira nota, confira emitente_fiscal: sem inscrição estadual e regime tributário a emissão é recusada.\n• Rejeição da SEFAZ volta com o motivo dela: repasse ao usuário como veio, corrija o que ele indicar e gere OUTRA prévia.\n• Para testar sem valor fiscal e sem custo, use \"ambiente\": \"homologacao\"."
  },
  "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."
}