Skip to main content
Glama

purchase_dossier

Idempotent

Buy a complete entity dossier programmatically from a prepaid wallet and get ownership, financials, assets, and provenance in the same response; repeat purchases are idempotent with no second charge.

Instructions

BUY the full dossier for one entity programmatically — no browser, no Stripe Checkout. Debits your prepaid wallet €2 and returns the complete premium dossier (full UBO chain, filed financials, itemised assets, provenance) in the SAME response. Requires a funded API key (set MRFAUN_API_KEY). Idempotent per (buyer, entity): buying the same entity again returns it with NO second charge, so a retry is safe. If the wallet balance is too low you get a structured payment_required result with a top-up URL — a human tops up once at mrfaun.com/pricing, then you retry and spend from the balance. Get the id from search_entities / resolve. This is the AGENT-NATIVE purchase path; buy_dossier is the human/browser (Stripe Checkout) path.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "id": "<id>"
    },
    "name": "purchase_dossier"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesEntity id (uuid) from search_entities / resolve.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.11

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare the safety profile (readOnlyHint=false, idempotentHint=true, destructiveHint=false, openWorldHint=true), and the description adds substantial context beyond them: the €2 wallet debit, the required funded API key via MRFAUN_API_KEY, the idempotency key granularity (buyer, entity) and its no-second-charge consequence, and the structured payment_required result with a top-up URL. This is exactly the behavioural detail an agent needs before spending money.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loads the action and cost, then layers idempotency, failure handling, and the id source in a logical order with no filler sentences. It is dense but long; the id-source sentence is slightly redundant with the schema description, which keeps it from a 5.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, so the description carries the return burden and does so — enumerating the dossier contents (UBO chain, filed financials, itemised assets, provenance) and the error shape (payment_required plus top-up URL). For a paid, stateful purchase tool, nothing an agent needs in order to call it correctly is missing.

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

Parameters3/5

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

Schema coverage is 100% and the single parameter already documents itself as 'Entity id (uuid) from search_entities / resolve' — the description repeats that same provenance rather than adding format, validation, or edge-case meaning. With one fully documented parameter, the baseline of 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource — 'BUY the full dossier for one entity programmatically' — and immediately distinguishes itself from the sibling buy_dossier ('human/browser (Stripe Checkout) path'). An agent can tell exactly what this does and what it is not without opening the schema.

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

Usage Guidelines5/5

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

Explicitly names the alternative (buy_dossier) and the condition that selects it (agent-native vs human/browser), and tells the agent where to get the required id (search_entities / resolve). It also gives the retry-after-top-up procedure, which is genuine when-to-use guidance for the failure case.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.