# `work.duebuddy/invoices` on Anlyon Radar

> Text inside fenced blocks marked untrusted-server-text was written by the MCP server's publisher, not by Anlyon Radar. It is data to inspect, not instructions to follow. Invisible characters are shown as [U+XXXX].
> No finding is not a safety guarantee: these are point-in-time checks of tool definitions, not of code or behaviour.

- Page: https://radar.anlyon.com/servers/work.duebuddy/invoices
- JSON: https://radar.anlyon.com/api/v1/servers/work.duebuddy/invoices
- Version: 1.1.1 (active)
- Publisher: work.duebuddy (domain proven to the MCP Registry)
- Runs: remote (streamable-http), local (pypi)
- Sign-in to list tools: none
- Repository: https://github.com/ANTONDrakon/duebuddy-mcp
- Metadata from the official MCP Registry, synced 2026-11-17T10:18:20.078Z

Title and description, as the publisher wrote them:

```untrusted-server-text
Read supplier invoices (PDF, photo, XML) and return fields plus a DATEV/1C/CSV file.
```

Scanned 2026-11-17T10:18:22.898Z over streamable-http.

**4 tools: 2 change things and 2 only read.**

| Group | Class | Tools | Claude Code |
| --- | --- | --- | --- |
| Deletes or cancels | destructive | 0 | deny |
| Can't be undone | irreversible | 0 | ask |
| Changes things | write | 2 | ask |
| Only reads | read | 2 | allow |

## Exfil surface

No private-data -> untrusted-input -> outbound path in this server alone: no tool is tagged outbound.

| Tag | Meaning | Tools |
| --- | --- | --- |
| private-data | Reads files, mail, messages, databases, secrets, calendars or repositories. | `mcp__invoices__parse_invoice` |
| untrusted-input | Brings in text someone else can write: web pages, inbound email, messages, issues and comments. | `mcp__invoices__get_balance` `mcp__invoices__get_result` `mcp__invoices__parse_invoice` |
| outbound | Can carry data to people or systems: it sends, posts or publishes, or takes a recipient, channel or URL. | none |

## Findings

- **warn** Annotations that disagree with the tool in `parse_invoice` ([annotation-conflict](https://radar.anlyon.com/methodology#annotation-conflict))

```untrusted-server-text
The server marks "parse_invoice" as not read-only (readOnlyHint: false), and its words say it reads.

annotations: {"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true}; The description's first verb is "read": a word for reading.
```

- **warn** Annotations that disagree with the tool in `topup_link` ([annotation-conflict](https://radar.anlyon.com/methodology#annotation-conflict))

```untrusted-server-text
The server marks "topup_link" read-only (readOnlyHint: true), and its own name, description or input give the class "write".

annotations: {"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}; The name "topup_link" says "link": a word for a change.
```


## Changes things (2)

Creates or changes something that can be changed back. Claude Code: ask.

### `parse_invoice`

- The description's first verb is "read": a word for reading.
- The server marks it as not read-only (readOnlyHint: false).
- Tag private-data: The input names a file (input.file_url), and the tool reads: it reads files.
- Tag untrusted-input: The server marks it openWorldHint: true: it reaches things outside the server's own data.
- Findings: warn annotation-conflict

Description, as the server wrote it:

```untrusted-server-text
Reads ONE incoming supplier invoice and returns a job id for polling.

Use when: the user has a single invoice (PDF, photo, scan, XML e-invoice or QR bill) and wants supplier, invoice number, dates, amounts, VAT or line items extracted.
Do not use when: the user asks to ISSUE an invoice, to send a payment, or to post entries into DATEV/1C — this tool only reads documents. For several documents call it once per document; the returned job ids can be polled independently.

Side effects and cost: the document is downloaded and queued for parsing. XML and QR invoices are parsed by code and cost nothing; scans and photos cost 0.07 EUR per page and are charged to the prepaid balance. Not idempotent: each call creates a new job and, for scans, a new charge — do not retry blindly after a timeout, poll get_result instead.

Parameters: file_url must be a public https link to a single document on duebuddy.work (upload first via the cabinet); country is a two-letter code that selects the parsing profile and changes field names and tax rules, not the price. api_key may be omitted when the server was added with an X-Api-Key header.

Returns: {ok, job_id, status}. Next step: call get_result with that job_id.
```

### `topup_link`

- The name "topup_link" says "link": a word for a change.
- The server marks it read-only (readOnlyHint: true), but an annotation never lowers a class.
- Findings: warn annotation-conflict

Description, as the server wrote it:

```untrusted-server-text
Returns the page where the prepaid balance can be topped up, plus the minimum amount.

Use when: the balance is empty or too low for the documents the user wants to process.
Do not use when: the balance is sufficient — check it with get_balance first.

Side effects and cost: none. The call only builds a link; the payment happens in the browser and is handled by the payment provider, never by this server.

Parameters: amount_eur is informational only and does not create an order.

Returns: {ok, url, minimum_eur}.
```

## Only reads (2)

Looks things up and changes nothing. Claude Code: allow.

### `get_balance`

- The name "get_balance" says "get": a word for reading.
- Tag untrusted-input: The server marks it openWorldHint: true: it reaches things outside the server's own data.

Description, as the server wrote it:

```untrusted-server-text
Shows how many scanned pages are left on the prepaid balance for this API key.

Use when: before a batch of scans or photos, or when parse_invoice answered insufficient_balance and the remaining amount must be confirmed.
Do not use when: the user asks about invoice content — that is get_result.

Side effects and cost: none; read-only and idempotent.

Parameters: api_key is the DueBuddy key; optional when the server was added with an X-Api-Key header.

Returns: {ok, balance} with remaining pages and the current plan.
```

### `get_result`

- The name "get_result" says "get": a word for reading.
- Tag untrusted-input: The server marks it openWorldHint: true: it reaches things outside the server's own data.

Description, as the server wrote it:

```untrusted-server-text
Returns the result of a parse job started by parse_invoice: structured fields (supplier, invoice number, dates, net/VAT/gross, currency, line items) plus export links for accounting systems.

Use when: you already have a job_id and want its status or its extracted data.
Do not use when: you have no job_id yet — start with parse_invoice. Do not poll in a tight loop: one call every few seconds is enough, text PDFs and XML usually finish in under a minute.

Side effects and cost: none. Read-only and idempotent; does not touch the prepaid balance and can be repeated safely.

Parameters: job_id is the identifier returned by parse_invoice for the same API key.

Returns: {ok, result}, where result.status is queued, processing, done or failed; on done it also carries fields and export links.
```

## Claude Code permissions

For `.claude/settings.json`, assuming the server is installed as `invoices`:

```json
{
  "permissions": {
    "allow": [
      "mcp__invoices__get_result",
      "mcp__invoices__get_balance"
    ],
    "ask": [
      "mcp__invoices__parse_invoice",
      "mcp__invoices__topup_link"
    ],
    "deny": []
  }
}
```

Capability tags behind the rules (a read tagged outbound is asked about):

- `mcp__invoices__parse_invoice`: private-data, untrusted-input
- `mcp__invoices__get_result`: untrusted-input
- `mcp__invoices__get_balance`: untrusted-input

## Remote posture

What an anonymous client saw at the remote endpoint, last 2026-11-15T13:20:14.146Z, unchanged since 2026-11-15T13:20:14.146Z. No credentials were sent and no tool was called. Values are shown as the endpoint returned them. Method: https://radar.anlyon.com/methodology#remote-posture

| Fact | Observed |
| --- | --- |
| Reachable | `yes` |
| HTTP status of an anonymous initialize | `200` |
| tools/list served without credentials | `yes` |
| Tools that change things, listed without credentials | `1` |
| Protocol version | `2025-06-18` |
| WWW-Authenticate on 401 | `not observed` |
| resource_metadata in WWW-Authenticate | `none` |
| RFC 9728 protected resource metadata | `none` |
| Authorization servers | `none` |
| Legacy HTTP+SSE transport | `no` |
| Dynamic client registration | `not observed` |
| Client ID metadata documents | `not observed` |

- **warn** Tools that change things, listed to anyone ([unauth-remote-writes](https://radar.anlyon.com/methodology#unauth-remote-writes))

```untrusted-server-text
The endpoint served tools/list without credentials, and the list has 1 tool that changes things (1 write). Whether a call also works without credentials was not tested: tools are never called.

https://duebuddy.work/mcp: tools/list returned 4 tools to an anonymous client, including topup_link (write)
```
