Skip to main content
Glama

List missing invoices

well_list_missing_invoices
Read-only

List the supplier invoices a past period is still missing — the settled spend whose invoice has not been collected, one row per counterparty, exactly as the Well app's expense-invoices card shows them. Use it for "which invoices am I missing for ?" and as the input to fetching them. It does NOT list the connection routes a provider offers; for "which connectors, extension, mailbox or drive can bring in this provider's invoices" call well_list_connectors with counterparty_ids copied from these rows.

Name the period ONE way: { calendar_year, calendar_month } (the calendar month, e.g. June 2026 → 2026, 6), { fiscal_year, fiscal_period }, or periods: [{ calendar_year, calendar_month }, …] for SEVERAL months in one call (1-12), or name NO period at all to use the months the user selected on the period card in this conversation (well_list_periods → the user clicks → well_switch_workspace records them). With no period named and no months selected, the call refuses and tells you to run the period step first. Every month must have ended: a current or future month is refused, and so is the adjustment period (13). Duplicate months are refused.

COST: there is no batch endpoint, so each named month is a separate read of that month's spend. Ask for the months the user actually named, not a whole year "to be safe".

Returns rows, ONE per counterparty for the whole call, never one per month. Each row carries name, tx_count and base_total_amount in base_currency SUMMED over the months it covers, its own months array naming those months (each with that month's tx_count, base_total_amount, proof_task_id, acquisition_status and refusal_reason), and the route fields mode, available_modes, suggested_action, matched_provider_name and matched_connector_service_id, which the provider match resolves once per counterparty. NEVER list a counterparty once per month and never present its months as separate gaps: it is one supplier to chase, and one collection covers every month behind it. Name the months a row spans from its months array. The envelope's own months carries each month's totals (rows are NOT repeated there), periods_covered names the months read, and transaction_count, group_count and dropped_groups are totals across every month read. row_count counts the DISTINCT counterparties, so it is never the sum of the months' own row_count. dropped_groups counts the GROUPS that produced no row — party-less bank operations, unresolved counterparties, unnamed companies — never transactions, and bank_internal and unknown hold one group per month whatever they contain, so quote neither as a quantity of operations. unknown and unnamed_company ARE categorized expense spend still missing a supplier invoice, so an empty rows over a non-zero count is not a complete period; bank_internal alone is, since no supplier can invoice a party-less operation. The single-month fields calendar_year, calendar_month, fiscal_year, fiscal_period and period_label appear ONLY when the call named exactly one month.

totals_by_currency is the money still missing an invoice, ONE set per currency in the lines' own currency: gross, the copies and own_company movements it holds, and net. The rows never hold a copy or a movement between the user's own accounts, and party-less bank operations sit in no figure, so net is the money of the lines behind rows plus the unknown and unnamed_company groups, which produce no row. The figures are read apart from the rows, so a cut list (candidates_truncated) still carries the full figures. Quote net as the gap, in the currency it carries, and quote gross, copies and own_company only as they come. Every amount here and in rows is in major units of its currency, as a person writes it: a net of 52300 in USD is 52 300 $, never 523,00 $. Never divide, multiply or otherwise scale one. NEVER add, subtract, round, halve or convert a figure, and never merge two currencies into one number. own_company is money that moved between the user's own accounts: name its amount in one line as left out of the gap. copies is bookkeeping: never name it to the person. totals_by_currency: null means the figures could not be read: quote no amount, and never present it as zero.

CURRENCY: base_amount and base_total_amount are in base_currency, the workspace base currency, which each row, month and transaction carries beside them. It can differ from the currency the transactions were paid in and from the currency of the person's language. Write every base figure with the symbol or code of its base_currency (USD → $, EUR → €, GBP → £; another code as the code), and write a transaction's amount and a totals_by_currency figure with their own currency. A reply in French for a USD workspace still writes a base_total_amount of 120.4 as 120,40 $, never 120,40 €. Never relabel or convert a base figure into another currency: to state a figure in the currency the money was paid in, quote the transactions' own amount and currency.

Pass the limits of the ask as arguments and render nothing beyond them. row_limit is the count the person named (0 for "just the total": no row comes back and one line answers), order: "amount" puts the biggest gap first for "the biggest", and no_action: true says the person wants nothing fetched or started, so offer no fetch. The result echoes the three values, and row_count still counts every counterparty found while rows_omitted counts the rows the limit left out.

Every row also carries transactions — the counterparty's own lines behind the row, each with date, description (the bank's remittance text), category, amount, currency and base_amount. amount is signed and stays in the transaction's own currency, so never add those together across a row; base_amount is the same line in base_currency, and the magnitudes of those DO add up to base_total_amount. The list is capped at 25 per row and transactions_omitted says how many the cap left out — quote that number instead of implying the list is complete.

mode is the ONE route the card suggests for that row: agent (a browser agent can collect it from the supplier portal), connect (connect the named service and Well fetches it), upload (the user supplies the file). available_modes lists every route the row offers instead of only the suggested one — agent and upload on every row, plus connect when the catalog holds a connector for the matched provider, so 2 or 3 entries. Present mode as the suggestion and available_modes as the choice. available_routes is the order to look for the invoice in, mail_search first when the caller's own Gmail is connected: try the routes in that order and stop at the first find, so one invoice is found once.

Only CATEGORIZED expense transactions are considered — uncategorized spend is not listed, so poor categorization coverage under-reports the gaps; disclose the hints.

This tool reads the user's data and changes none of it. It does not mint tasks, start a close, connect anything, or fetch any invoice.

Call this directly — no workspace call is needed first (workspace is resolved from the caller's authorized token, same as every other well_* tool).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
orderNo`amount` puts the biggest gap first (by `base_total_amount`, rows without a figure last). Pass it for "the biggest", "the largest", "the most expensive". Omit it for the default order.
periodsNoSeveral calendar months in one call, 1-12. Each month costs one separate read, so name only the months you need. Duplicates are refused.
no_actionNotrue when the person asked for nothing to be fetched or started ("ne récupère rien", "just tell me", "don't fetch anything"). The reply then offers no fetch and shows no action link. Omit it otherwise.
row_limitNoHow many rows the person asked for, 1-15. Pass it when the ask names a count ("the 3 biggest", "the top 5"). Pass 0 when the ask is for the total alone ("just the total", "juste le cumul"): the result then carries no row and one line is enough. Omit it when the ask names no count.
fiscal_yearNoFiscal year (the calendar year the workspace's fiscal year STARTED in).
workspace_idNoTarget workspace. This read reports one workspace's own data. Omit it and the token's primary workspace answers, which may not be the one you mean; the result names the workspace that did.
calendar_yearNoCalendar year, e.g. 2026.
fiscal_periodNoFiscal period, 1-12. The adjustment period (13) is refused: it has no calendar month.
calendar_monthNoCalendar month, 1 = January … 12 = December.
conversation_idNoThe conversation id returned by the previous Well result, in its meta under well/conversation_id, in its structuredContent, or in its JSON text block. Pass it back on every call in the same conversation, including a call a card makes, so the chosen workspace and the earlier answers still apply. It decides the conversation on its own: nothing the host states about the session replaces it. Omit it only on the first call of a conversation.
workspace_scopeNoRestrict this call to the family: the token's primary workspace plus the company workspaces under it that you are a member of. Unrelated authorized workspaces drop out of the read; row reads merge across the family, while a per-workspace figure still reports exactly one workspace.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
rowsYesThe card's rows, ONE per counterparty for the whole call, in the order the oldest month listed them, each naming the months it covers in `months`. A counterparty owing an invoice in several of the months read is one row, never one per month.
errorNo
hintsNo
orderNoThe `order` the rows are in, echoed.
monthsNoPer-month totals, oldest first.
successYes
next_stepNoWhat to do with the card this result renders. Added by the dispatcher when the card asks for a click.
no_actionNoThe `no_action` the call was made with, echoed.
row_countNoThe DISTINCT counterparties the call found, before any `row_limit` cut `rows`. Never the sum of the months' own `row_count`.
row_limitNoThe `row_limit` the call was made with, echoed; null when the ask named none.
fiscal_yearNoPresent only when the call named exactly one month.
group_countNoGroups the reads returned before the card's projection.
period_labelNoHuman-readable label of the period, e.g. "June 2026". Present only when the call named one month.
rows_omittedNoRows the `row_limit` left out of `rows`. Zero when no limit cut the list.
workspace_idNo
base_currencyNoThe workspace base currency (ISO 4217) of every `base_amount` and `base_total_amount` in the result. Each row, month and transaction repeats it beside its own base figures.
calendar_yearNoPresent only when the call named exactly one month.
fiscal_periodNoPresent only when the call named exactly one month.
calendar_monthNoPresent only when the call named exactly one month.
dropped_groupsNo
conversation_idNoThe conversation this result belongs to. Pass it back as the conversation_id argument on every later Well call in the same conversation.
newly_connectedNoTools that connected to this workspace since the last result and that no session was told about yet, oldest first. Present only when at least one tool is new. The connected-line rule says when to tell an entry; when it does, one line per entry, in the person's language: "<name> is connected.". Never fold several entries into one sentence. Each entry comes back once, on one result only: never repeat its line later.
periods_coveredNoThe months the result covers, oldest first.
periods_requestedNoHow many calendar months the call named.
transaction_countNoEvery transaction missing its invoice, across all groups and all months.
resolved_workspaceNoThe workspace that answered, when the caller named none and the token authorizes several.
totals_by_currencyNoThe money still missing an invoice, ONE set per currency in the lines' own currency, in major units (not cents). Quote `net` for the gap and never add, round, halve or convert any figure yourself. `copies` and `own_company` are what `gross` holds that is not a gap: name the `own_company` amount in one line as left out, and never name `copies` to the person. Two currencies are two figures: never merge them. Null when the figures could not be read: then quote no amount at all, and never read null as zero.
candidates_truncatedNoTrue when a month's read hit its line cap, so `rows`, `row_count` and `transaction_count` miss lines. `totals_by_currency` is read apart and still covers every line. Say the list is cut when this is true. With `order` set to `amount`, the rank then covers only the lines read: call the rows the biggest of those lines, never the biggest of the period.
conversation_id_noteNoPresent only when the server opened a fresh lane, stating that no choice recorded earlier was read.
conversation_id_sourceNoWhere the conversation id came from: the host's own request meta, the caller's argument, or a fresh lane the server opened.
totals_unreadable_countNoLines with no readable amount. They sit in no figure of `totals_by_currency`. Null with it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changed
    • addedOutput schema / properties / base_currency / description
      Added value: +"The workspace base currency (ISO 4217) of every `base_amount` and `base_total_amount` in the result. Each row, month and transaction repeats it beside its own base figures."
    • changedOutput schema / properties / newly_connected / description
      Previous value: -"Tools that connected to this workspace since the last result and that no session was told about yet, oldest first. Present only when at least one tool is new. Start the reply with one line per entry, in the person's language: \"<name> is connected.\". Never fold several entries into one sentence. Each entry comes back once, on one result only: never repeat its line later."New value: +"Tools that connected to this workspace since the last result and that no session was told about yet, oldest first. Present only when at least one tool is new. The connected-line rule says when to tell an entry; when it does, one line per entry, in the person's language: \"<name> is connected.\". Never fold several entries into one sentence. Each entry comes back once, on one result only: never repeat its line later."
    • addedOutput schema / properties / rows / items / properties / base_currency
      Added value: +{
      +  "description": "The ISO 4217 code every base amount of this row is in: the workspace base currency, never the transaction's own currency.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / rows / items / properties / months / items / properties / base_currency
      Added value: +{
      +  "description": "The ISO 4217 code every base amount of this month is in: the workspace base currency, never the transaction's own currency.",
      +  "type": "string"
      +}
    • changedOutput schema / properties / rows / items / properties / months / items / required
      Previous value: -[
      -  "calendar_year",
      -  "calendar_month",
      -  "period_label",
      -  "tx_count",
      -  "base_total_amount",
      -  "proof_task_id",
      -  "acquisition_status",
      -  "refusal_reason"
      -]New value: +[
      +  "calendar_year",
      +  "calendar_month",
      +  "period_label",
      +  "tx_count",
      +  "base_total_amount",
      +  "base_currency",
      +  "proof_task_id",
      +  "acquisition_status",
      +  "refusal_reason"
      +]
    • addedOutput schema / properties / rows / items / properties / transactions / items / properties / base_currency
      Added value: +{
      +  "description": "The ISO 4217 code every base amount of this transaction is in: the workspace base currency, never the transaction's own currency.",
      +  "type": "string"
      +}
    • changedOutput schema / properties / rows / items / properties / transactions / items / required
      Previous value: -[
      -  "id",
      -  "date",
      -  "description",
      -  "category",
      -  "category_key",
      -  "amount",
      -  "currency",
      -  "base_amount"
      -]New value: +[
      +  "id",
      +  "date",
      +  "description",
      +  "category",
      +  "category_key",
      +  "amount",
      +  "currency",
      +  "base_amount",
      +  "base_currency"
      +]
    • changedOutput schema / properties / rows / items / required
      Previous value: -[
      -  "id",
      -  "company_id",
      -  "name",
      -  "logo_url",
      -  "domain_resolution",
      -  "months",
      -  "tx_count",
      -  "transactions",
      -  "transactions_omitted",
      -  "base_total_amount",
      -  "mode",
      -  "available_modes",
      -  "available_routes",
      -  "suggested_action",
      -  "matched_provider_name",
      -  "matched_provider_url",
      -  "matched_provider_has_blueprint",
      -  "matched_connector_service_id"
      -]New value: +[
      +  "id",
      +  "company_id",
      +  "name",
      +  "logo_url",
      +  "domain_resolution",
      +  "months",
      +  "tx_count",
      +  "transactions",
      +  "transactions_omitted",
      +  "base_total_amount",
      +  "base_currency",
      +  "mode",
      +  "available_modes",
      +  "available_routes",
      +  "suggested_action",
      +  "matched_provider_name",
      +  "matched_provider_url",
      +  "matched_provider_has_blueprint",
      +  "matched_connector_service_id"
      +]
  2. Changed8 schema fields changed
    • addedInput schema / properties / workspace_scope
      Added value: +{
      +  "description": "Restrict this call to the family: the token's primary workspace plus the company workspaces under it that you are a member of. Unrelated authorized workspaces drop out of the read; row reads merge across the family, while a per-workspace figure still reports exactly one workspace.",
      +  "enum": [
      +    "family"
      +  ],
      +  "type": "string"
      +}
    • addedOutput schema / properties / rows / items / properties / available_routes
      Added value: +{
      +  "description": "Every route that can produce this invoice, in the order to try them: `mail_search` (the caller's own connected Gmail, searched with well_search_mailbox_for_receipt) when the caller has one, `chrome_extension_fetch` when the browser agent can run the portal, `connect_provider` when a connector matched, and `manual_upload` always, last. The first route that finds the invoice wins; the later ones are not started for it.",
      +  "items": {
      +    "enum": [
      +      "mail_search",
      +      "chrome_extension_fetch",
      +      "connect_provider",
      +      "manual_upload"
      +    ],
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • changedOutput schema / properties / rows / items / properties / base_total_amount / description
      Previous value: -"Sum in base_currency across every month in `months`; null when an FX rate was missing for any transaction of any of them."New value: +"Sum in base_currency, in major units (not cents), across every month in `months`; null when an FX rate was missing for any transaction of any of them."
    • changedOutput schema / properties / rows / items / properties / months / items / properties / base_total_amount / description
      Previous value: -"This month's sum in `base_currency`; null when an FX rate was missing for any of its transactions."New value: +"This month's sum in `base_currency`, in major units (not cents); null when an FX rate was missing for any of its transactions."
    • changedOutput schema / properties / rows / items / properties / transactions / items / properties / amount / description
      Previous value: -"Signed amount in `currency` — negative when the money leaves the account."New value: +"Signed amount in `currency`, in major units (not cents) — negative when the money leaves the account."
    • changedOutput schema / properties / rows / items / properties / transactions / items / properties / base_amount / description
      Previous value: -"The same amount converted to `base_currency`, still signed. Sum the magnitudes of these to reach `base_total_amount`; null when no FX rate covered the date."New value: +"The same amount converted to `base_currency`, in major units (not cents), still signed. Sum the magnitudes of these to reach `base_total_amount`; null when no FX rate covered the date."
    • changedOutput schema / properties / rows / items / required
      Previous value: -[
      -  "id",
      -  "company_id",
      -  "name",
      -  "logo_url",
      -  "domain_resolution",
      -  "months",
      -  "tx_count",
      -  "transactions",
      -  "transactions_omitted",
      -  "base_total_amount",
      -  "mode",
      -  "available_modes",
      -  "suggested_action",
      -  "matched_provider_name",
      -  "matched_provider_url",
      -  "matched_provider_has_blueprint",
      -  "matched_connector_service_id"
      -]New value: +[
      +  "id",
      +  "company_id",
      +  "name",
      +  "logo_url",
      +  "domain_resolution",
      +  "months",
      +  "tx_count",
      +  "transactions",
      +  "transactions_omitted",
      +  "base_total_amount",
      +  "mode",
      +  "available_modes",
      +  "available_routes",
      +  "suggested_action",
      +  "matched_provider_name",
      +  "matched_provider_url",
      +  "matched_provider_has_blueprint",
      +  "matched_connector_service_id"
      +]
    • changedOutput schema / properties / totals_by_currency / description
      Previous value: -"The money still missing an invoice, ONE set per currency in the lines' own currency. Quote `net` for the gap and never add, round, halve or convert any figure yourself. `copies` and `own_company` are what `gross` holds that is not a gap: name the `own_company` amount in one line as left out, and never name `copies` to the person. Two currencies are two figures: never merge them. Null when the figures could not be read: then quote no amount at all, and never read null as zero."New value: +"The money still missing an invoice, ONE set per currency in the lines' own currency, in major units (not cents). Quote `net` for the gap and never add, round, halve or convert any figure yourself. `copies` and `own_company` are what `gross` holds that is not a gap: name the `own_company` amount in one line as left out, and never name `copies` to the person. Two currencies are two figures: never merge them. Null when the figures could not be read: then quote no amount at all, and never read null as zero."
  3. Changed1 schema field changed
    • addedOutput schema / properties / newly_connected
      Added value: +{
      +  "description": "Tools that connected to this workspace since the last result and that no session was told about yet, oldest first. Present only when at least one tool is new. Start the reply with one line per entry, in the person's language: \"<name> is connected.\". Never fold several entries into one sentence. Each entry comes back once, on one result only: never repeat its line later.",
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "name": {
      +        "type": "string"
      +      },
      +      "service_id": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "name",
      +      "service_id"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
  4. Changed11 schema fields changed
    • addedInput schema / properties / no_action
      Added value: +{
      +  "description": "true when the person asked for nothing to be fetched or started (\"ne récupère rien\", \"just tell me\", \"don't fetch anything\"). The reply then offers no fetch and shows no action link. Omit it otherwise.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / order
      Added value: +{
      +  "description": "`amount` puts the biggest gap first (by `base_total_amount`, rows without a figure last). Pass it for \"the biggest\", \"the largest\", \"the most expensive\". Omit it for the default order.",
      +  "enum": [
      +    "default",
      +    "amount"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / row_limit
      Added value: +{
      +  "description": "How many rows the person asked for, 1-15. Pass it when the ask names a count (\"the 3 biggest\", \"the top 5\"). Pass 0 when the ask is for the total alone (\"just the total\", \"juste le cumul\"): the result then carries no row and one line is enough. Omit it when the ask names no count.",
      +  "maximum": 15,
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • addedOutput schema / properties / candidates_truncated
      Added value: +{
      +  "description": "True when a month's read hit its line cap, so `rows`, `row_count` and `transaction_count` miss lines. `totals_by_currency` is read apart and still covers every line. Say the list is cut when this is true. With `order` set to `amount`, the rank then covers only the lines read: call the rows the biggest of those lines, never the biggest of the period.",
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / no_action
      Added value: +{
      +  "description": "The `no_action` the call was made with, echoed.",
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / order
      Added value: +{
      +  "description": "The `order` the rows are in, echoed.",
      +  "enum": [
      +    "default",
      +    "amount"
      +  ],
      +  "type": "string"
      +}
    • changedOutput schema / properties / row_count / description
      Previous value: -"Rows in `rows`, which is the DISTINCT counterparties the call found. Never the sum of the months' own `row_count`."New value: +"The DISTINCT counterparties the call found, before any `row_limit` cut `rows`. Never the sum of the months' own `row_count`."
    • addedOutput schema / properties / row_limit
      Added value: +{
      +  "anyOf": [
      +    {
      +      "maximum": 9007199254740991,
      +      "minimum": -9007199254740991,
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "The `row_limit` the call was made with, echoed; null when the ask named none."
      +}
    • addedOutput schema / properties / rows_omitted
      Added value: +{
      +  "description": "Rows the `row_limit` left out of `rows`. Zero when no limit cut the list.",
      +  "maximum": 9007199254740991,
      +  "minimum": -9007199254740991,
      +  "type": "integer"
      +}
    • addedOutput schema / properties / totals_by_currency
      Added value: +{
      +  "anyOf": [
      +    {
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "copies": {
      +            "description": "The part of `gross` that repeats a payment already counted through another connection of the same account.",
      +            "type": "number"
      +          },
      +          "currency": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "The one currency every figure of this set is in. Null for lines that carry no currency."
      +          },
      +          "gross": {
      +            "description": "Every line in this currency, copies and own-account movements included.",
      +            "type": "number"
      +          },
      +          "net": {
      +            "description": "`gross` minus `copies` minus `own_company`. This is the figure to quote.",
      +            "type": "number"
      +          },
      +          "own_company": {
      +            "description": "The part of `gross` that moved between the workspace's own accounts, so it is not spend.",
      +            "type": "number"
      +          }
      +        },
      +        "required": [
      +          "currency",
      +          "gross",
      +          "copies",
      +          "own_company",
      +          "net"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "The money still missing an invoice, ONE set per currency in the lines' own currency. Quote `net` for the gap and never add, round, halve or convert any figure yourself. `copies` and `own_company` are what `gross` holds that is not a gap: name the `own_company` amount in one line as left out, and never name `copies` to the person. Two currencies are two figures: never merge them. Null when the figures could not be read: then quote no amount at all, and never read null as zero."
      +}
    • addedOutput schema / properties / totals_unreadable_count
      Added value: +{
      +  "anyOf": [
      +    {
      +      "maximum": 9007199254740991,
      +      "minimum": -9007199254740991,
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "Lines with no readable amount. They sit in no figure of `totals_by_currency`. Null with it."
      +}
  5. Changed4 schema fields changed
    • addedInput schema / properties / conversation_id
      Added value: +{
      +  "description": "The conversation id returned by the previous Well result, in its meta under well/conversation_id, in its structuredContent, or in its JSON text block. Pass it back on every call in the same conversation, including a call a card makes, so the chosen workspace and the earlier answers still apply. It decides the conversation on its own: nothing the host states about the session replaces it. Omit it only on the first call of a conversation.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / conversation_id
      Added value: +{
      +  "description": "The conversation this result belongs to. Pass it back as the conversation_id argument on every later Well call in the same conversation.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / conversation_id_note
      Added value: +{
      +  "description": "Present only when the server opened a fresh lane, stating that no choice recorded earlier was read.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / conversation_id_source
      Added value: +{
      +  "description": "Where the conversation id came from: the host's own request meta, the caller's argument, or a fresh lane the server opened.",
      +  "enum": [
      +    "host_meta",
      +    "argument",
      +    "minted"
      +  ],
      +  "type": "string"
      +}
  6. Changed2 schema fields changed
    • changedOutput schema / properties / rows / items / properties / mode / description
      Previous value: -"How the app's card offers to obtain the invoice: agent (a browser agent runs the supplier portal — a published blueprint exists), connect (connect matched_connector_service_id and Well fetches it), upload (the user supplies the file). Already downgraded from suggested_action when the automated route cannot be honoured."New value: +"How the app's card offers to obtain the invoice: agent (a browser agent runs the supplier portal — the provider carries a blueprint OR a real portal URL the agent runs against), connect (connect matched_connector_service_id and Well fetches it), upload (the user supplies the file). Decided from the provider facts: connect wins when a connector matched, else agent when it can run, else upload."
    • changedOutput schema / properties / rows / items / properties / suggested_action / description
      Previous value: -"The backend's raw routing decision, before the downgrade rules."New value: +"The backend's routing decision for the row. `chrome_extension_fetch` when the matched provider can run the browser agent (a blueprint or a real portal URL), `connect_provider` when a connector matched, else `manual_upload`. `mode` is the same decision in the card's vocabulary."
  7. Changed1 schema field changed
    • addedOutput schema / properties / next_step
      Added value: +{
      +  "description": "What to do with the card this result renders. Added by the dispatcher when the card asks for a click.",
      +  "type": "string"
      +}
  8. Changed2 schema fields changed
    • addedOutput schema / properties / rows / items / properties / matched_provider_url
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • changedOutput schema / properties / rows / items / required
      Previous value: -[
      -  "id",
      -  "company_id",
      -  "name",
      -  "logo_url",
      -  "domain_resolution",
      -  "months",
      -  "tx_count",
      -  "transactions",
      -  "transactions_omitted",
      -  "base_total_amount",
      -  "mode",
      -  "available_modes",
      -  "suggested_action",
      -  "matched_provider_name",
      -  "matched_provider_has_blueprint",
      -  "matched_connector_service_id"
      -]New value: +[
      +  "id",
      +  "company_id",
      +  "name",
      +  "logo_url",
      +  "domain_resolution",
      +  "months",
      +  "tx_count",
      +  "transactions",
      +  "transactions_omitted",
      +  "base_total_amount",
      +  "mode",
      +  "available_modes",
      +  "suggested_action",
      +  "matched_provider_name",
      +  "matched_provider_url",
      +  "matched_provider_has_blueprint",
      +  "matched_connector_service_id"
      +]
  9. Changed1 schema field changed
    • changedOutput schema / properties / rows / items / properties / logo_url / description
      Previous value: -"The counterparty's mark, resolved in that order: the matched provider's stored logo, else the counterparty company's own stored logo — the one company enrichment resolved from that company's domain — else the mark derived from the matched portal's host. Null when the row matched no portal and its company carries no logo, and the card then draws initials."New value: +"The counterparty's mark: the matched provider's stored logo, else the counterparty company's own stored logo — the one company enrichment resolved from that company's domain. Null when the row matched no provider and its company carries no stored logo. A null here does not mean the card draws initials: the widget is additionally offered a mark derived from the company's own host, which this field never carries."
  10. Changed2 schema fields changed
    • addedOutput schema / properties / rows / items / properties / domain_resolution
      Added value: +{
      +  "description": "The counterparty company's own domain-discovery state: 'resolved' when it already carries a domain (any source); 'pending' when a web-evidence resolve is durably enqueued and still open; 'none' when no domain is known and nothing is in flight.",
      +  "enum": [
      +    "resolved",
      +    "pending",
      +    "none"
      +  ],
      +  "type": "string"
      +}
    • changedOutput schema / properties / rows / items / required
      Previous value: -[
      -  "id",
      -  "company_id",
      -  "name",
      -  "logo_url",
      -  "months",
      -  "tx_count",
      -  "transactions",
      -  "transactions_omitted",
      -  "base_total_amount",
      -  "mode",
      -  "available_modes",
      -  "suggested_action",
      -  "matched_provider_name",
      -  "matched_provider_has_blueprint",
      -  "matched_connector_service_id"
      -]New value: +[
      +  "id",
      +  "company_id",
      +  "name",
      +  "logo_url",
      +  "domain_resolution",
      +  "months",
      +  "tx_count",
      +  "transactions",
      +  "transactions_omitted",
      +  "base_total_amount",
      +  "mode",
      +  "available_modes",
      +  "suggested_action",
      +  "matched_provider_name",
      +  "matched_provider_has_blueprint",
      +  "matched_connector_service_id"
      +]
  11. Changed15 schema fields changed
    • addedOutput schema / properties / months / items / properties / row_count / description
      Added value: +"Counterparties THIS month is missing an invoice from. A counterparty owing an invoice in several months counts in each of them, so these do not sum to the envelope's `row_count`, which counts each counterparty once."
    • addedOutput schema / properties / row_count / description
      Added value: +"Rows in `rows`, which is the DISTINCT counterparties the call found. Never the sum of the months' own `row_count`."
    • changedOutput schema / properties / rows / description
      Previous value: -"The card's rows — one per counterparty per month, oldest month first, each tagged with its month."New value: +"The card's rows, ONE per counterparty for the whole call, in the order the oldest month listed them, each naming the months it covers in `months`. A counterparty owing an invoice in several of the months read is one row, never one per month."
    • removedOutput schema / properties / rows / items / properties / acquisition_status
      Removed value: -{
      -  "enum": [
      -    "waiting",
      -    "processing",
      -    "mapped",
      -    "refused"
      -  ],
      -  "type": "string"
      -}
    • changedOutput schema / properties / rows / items / properties / base_total_amount / description
      Previous value: -"Sum in base_currency; null when an FX rate was missing for any transaction."New value: +"Sum in base_currency across every month in `months`; null when an FX rate was missing for any transaction of any of them."
    • removedOutput schema / properties / rows / items / properties / calendar_month
      Removed value: -{
      -  "maximum": 9007199254740991,
      -  "minimum": -9007199254740991,
      -  "type": "integer"
      -}
    • removedOutput schema / properties / rows / items / properties / calendar_year
      Removed value: -{
      -  "maximum": 9007199254740991,
      -  "minimum": -9007199254740991,
      -  "type": "integer"
      -}
    • changedOutput schema / properties / rows / items / properties / id / description
      Previous value: -"Stable row key: the proof task id when one exists, else the counterparty company id."New value: +"Stable row key: the counterparty company id, or the proof task id of a gap that resolved no company. One key per counterparty for the whole call, so it never repeats across the months the row covers."
    • addedOutput schema / properties / rows / items / properties / months
      Added value: +{
      +  "description": "The months of the call this counterparty is missing an invoice in, oldest first: one entry, or several when the same counterparty owes an invoice in more than one of them. The envelope's `periods_covered` names every month READ; this names the months THIS row covers.",
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "acquisition_status": {
      +        "enum": [
      +          "waiting",
      +          "processing",
      +          "mapped",
      +          "refused"
      +        ],
      +        "type": "string"
      +      },
      +      "base_total_amount": {
      +        "anyOf": [
      +          {
      +            "type": "number"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "This month's sum in `base_currency`; null when an FX rate was missing for any of its transactions."
      +      },
      +      "calendar_month": {
      +        "maximum": 9007199254740991,
      +        "minimum": -9007199254740991,
      +        "type": "integer"
      +      },
      +      "calendar_year": {
      +        "maximum": 9007199254740991,
      +        "minimum": -9007199254740991,
      +        "type": "integer"
      +      },
      +      "period_label": {
      +        "description": "The month this row belongs to, e.g. \"June 2026\".",
      +        "type": "string"
      +      },
      +      "proof_task_id": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "The close-proof task bound to this month's gap; null until one is minted."
      +      },
      +      "refusal_reason": {
      +        "anyOf": [
      +          {
      +            "enum": [
      +              "noop_not_proof",
      +              "noop_no_gap_match",
      +              "noop_ambiguous_gaps",
      +              "noop_task_unavailable",
      +              "warn_bridge_error"
      +            ],
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Populated only when THIS month's acquisition_status is refused."
      +      },
      +      "tx_count": {
      +        "description": "Transactions this counterparty is missing an invoice for in THIS month alone.",
      +        "maximum": 9007199254740991,
      +        "minimum": -9007199254740991,
      +        "type": "integer"
      +      }
      +    },
      +    "required": [
      +      "calendar_year",
      +      "calendar_month",
      +      "period_label",
      +      "tx_count",
      +      "base_total_amount",
      +      "proof_task_id",
      +      "acquisition_status",
      +      "refusal_reason"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • removedOutput schema / properties / rows / items / properties / period_label
      Removed value: -{
      -  "description": "The month this row belongs to, e.g. \"June 2026\".",
      -  "type": "string"
      -}
    • removedOutput schema / properties / rows / items / properties / proof_task_id
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "type": "string"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "description": "The close-proof task bound to this gap; null until one is minted."
      -}
    • removedOutput schema / properties / rows / items / properties / refusal_reason
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "enum": [
      -        "noop_not_proof",
      -        "noop_no_gap_match",
      -        "noop_ambiguous_gaps",
      -        "noop_task_unavailable",
      -        "warn_bridge_error"
      -      ],
      -      "type": "string"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "description": "Populated only when acquisition_status is refused."
      -}
    • changedOutput schema / properties / rows / items / properties / transactions / description
      Previous value: -"The row's own transactions, in ledger order, at most 25 — the same bounded sample the app's card lists under the counterparty."New value: +"The row's own transactions, oldest month first, at most 25 for the WHOLE row: the same bounded sample the app's card lists under the counterparty. A row spanning months carries one sample across them, not one per month."
    • addedOutput schema / properties / rows / items / properties / tx_count / description
      Added value: +"Transactions missing an invoice, summed across every month in `months`."
    • changedOutput schema / properties / rows / items / required
      Previous value: -[
      -  "id",
      -  "company_id",
      -  "name",
      -  "logo_url",
      -  "calendar_year",
      -  "calendar_month",
      -  "period_label",
      -  "tx_count",
      -  "transactions",
      -  "transactions_omitted",
      -  "base_total_amount",
      -  "mode",
      -  "available_modes",
      -  "suggested_action",
      -  "matched_provider_name",
      -  "matched_provider_has_blueprint",
      -  "matched_connector_service_id",
      -  "proof_task_id",
      -  "acquisition_status",
      -  "refusal_reason"
      -]New value: +[
      +  "id",
      +  "company_id",
      +  "name",
      +  "logo_url",
      +  "months",
      +  "tx_count",
      +  "transactions",
      +  "transactions_omitted",
      +  "base_total_amount",
      +  "mode",
      +  "available_modes",
      +  "suggested_action",
      +  "matched_provider_name",
      +  "matched_provider_has_blueprint",
      +  "matched_connector_service_id"
      +]
  12. Changed2 schema fields changed
    • changedInput schema / properties / workspace_id / description
      Previous value: -"Target workspace. Omit to use the only authorized workspace, or (for read tools) to query all authorized workspaces grouped by workspace. Required for write tools when the token authorizes more than one workspace."New value: +"Target workspace. This read reports one workspace's own data. Omit it and the token's primary workspace answers, which may not be the one you mean; the result names the workspace that did."
    • addedOutput schema / properties / resolved_workspace
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "The workspace that answered, when the caller named none and the token authorizes several.",
      +  "properties": {
      +    "name": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "workspace_id": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "workspace_id",
      +    "name"
      +  ],
      +  "type": "object"
      +}
  13. Changed11 schema fields changed
    • changedOutput schema / properties / dropped_groups / properties / bank_internal / description
      Previous value: -"Party-less bank operations — nothing to collect."New value: +"GROUPS of party-less bank operations — nothing to collect. One group per month that held any, NOT a count of operations: never quote this number as a quantity of bank operations."
    • changedOutput schema / properties / dropped_groups / properties / unknown / description
      Previous value: -"Spend with no resolved counterparty."New value: +"GROUPS of spend with no resolved counterparty. One group per month that held any, NOT a count of transactions or of counterparties."
    • changedOutput schema / properties / dropped_groups / properties / unnamed_company / description
      Previous value: -"Counterparties the card cannot render (no name or no key)."New value: +"GROUPS the card cannot render (no name or no key) — one per company, NOT a count of transactions."
    • changedOutput schema / properties / months / items / properties / dropped_groups / properties / bank_internal / description
      Previous value: -"Party-less bank operations — nothing to collect."New value: +"GROUPS of party-less bank operations — nothing to collect. One group per month that held any, NOT a count of operations: never quote this number as a quantity of bank operations."
    • changedOutput schema / properties / months / items / properties / dropped_groups / properties / unknown / description
      Previous value: -"Spend with no resolved counterparty."New value: +"GROUPS of spend with no resolved counterparty. One group per month that held any, NOT a count of transactions or of counterparties."
    • changedOutput schema / properties / months / items / properties / dropped_groups / properties / unnamed_company / description
      Previous value: -"Counterparties the card cannot render (no name or no key)."New value: +"GROUPS the card cannot render (no name or no key) — one per company, NOT a count of transactions."
    • addedOutput schema / properties / rows / items / properties / available_modes
      Added value: +{
      +  "description": "Every collection method this counterparty offers, agent first and upload last — 2 or 3 entries, never one. `agent` and `upload` stand for every row; `connect` joins them only when the catalog holds a connector for the matched provider, which is exactly what a non-null matched_connector_service_id reports. `mode` names the ONE route the card suggests, this names all the routes the user may pick.",
      +  "items": {
      +    "enum": [
      +      "agent",
      +      "connect",
      +      "upload"
      +    ],
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • changedOutput schema / properties / rows / items / properties / logo_url / description
      Previous value: -"The matched provider's logo; null when unmatched."New value: +"The counterparty's mark, resolved in that order: the matched provider's stored logo, else the counterparty company's own stored logo — the one company enrichment resolved from that company's domain — else the mark derived from the matched portal's host. Null when the row matched no portal and its company carries no logo, and the card then draws initials."
    • addedOutput schema / properties / rows / items / properties / transactions
      Added value: +{
      +  "description": "The row's own transactions, in ledger order, at most 25 — the same bounded sample the app's card lists under the counterparty.",
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "amount": {
      +        "anyOf": [
      +          {
      +            "type": "number"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Signed amount in `currency` — negative when the money leaves the account."
      +      },
      +      "base_amount": {
      +        "anyOf": [
      +          {
      +            "type": "number"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "The same amount converted to `base_currency`, still signed. Sum the magnitudes of these to reach `base_total_amount`; null when no FX rate covered the date."
      +      },
      +      "category": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Display label of THIS transaction's management category, not the group's. Null when uncategorized."
      +      },
      +      "category_key": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Stable taxonomy key of the same category — branch on this, never on the label. Null when off-catalog."
      +      },
      +      "currency": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "date": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "The day the transaction posts under (YYYY-MM-DD); null when it carries no date."
      +      },
      +      "description": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "The bank's remittance text — what distinguishes one line from the next. Null when the row carries none."
      +      },
      +      "id": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "id",
      +      "date",
      +      "description",
      +      "category",
      +      "category_key",
      +      "amount",
      +      "currency",
      +      "base_amount"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / rows / items / properties / transactions_omitted
      Added value: +{
      +  "description": "How many of the row's transactions the cap left out: `tx_count` minus the listed ones.",
      +  "maximum": 9007199254740991,
      +  "minimum": -9007199254740991,
      +  "type": "integer"
      +}
    • changedOutput schema / properties / rows / items / required
      Previous value: -[
      -  "id",
      -  "company_id",
      -  "name",
      -  "logo_url",
      -  "calendar_year",
      -  "calendar_month",
      -  "period_label",
      -  "tx_count",
      -  "base_total_amount",
      -  "mode",
      -  "suggested_action",
      -  "matched_provider_name",
      -  "matched_provider_has_blueprint",
      -  "matched_connector_service_id",
      -  "proof_task_id",
      -  "acquisition_status",
      -  "refusal_reason"
      -]New value: +[
      +  "id",
      +  "company_id",
      +  "name",
      +  "logo_url",
      +  "calendar_year",
      +  "calendar_month",
      +  "period_label",
      +  "tx_count",
      +  "transactions",
      +  "transactions_omitted",
      +  "base_total_amount",
      +  "mode",
      +  "available_modes",
      +  "suggested_action",
      +  "matched_provider_name",
      +  "matched_provider_has_blueprint",
      +  "matched_connector_service_id",
      +  "proof_task_id",
      +  "acquisition_status",
      +  "refusal_reason"
      +]
  14. Added

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources