Skip to main content
Glama

get_abaninja_quote_pdf

Read-only

Export an AbaNinja quote (Offerte) — or an invoice with document: 'invoice' — as PDF and file it as a CallPilotAI document. quote: the quote number (e.g. 'OF0001') or its uuid. Optional entity + entity_id (e.g. lead, account, asbest_project) to attach the document to a record. Returns document_id (pass it to send_email as attachments to mail it), a download link valid 24 h, file name and size. Changes nothing in AbaNinja; the same unchanged quote is filed only once.

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": {
      "quote": "<quote>"
    },
    "name": "get_abaninja_quote_pdf"
  }
}

Input Schema

NameRequiredDescriptionDefault
quoteYesQuote/invoice number (e.g. OF0001) or uuid.
entityNoOptional record type to attach to (lead, account, contact, asbest_project, …).
documentNoDocument type to export: quote (default) or invoicequote
entity_idNoId of that record — required together with entity.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / document / description
      Added value: +"Document type to export: quote (default) or invoice"
  2. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only say readOnlyHint and openWorldHint; the description goes much further by stating that nothing changes in AbaNinja, that an unchanged quote is filed only once (deduplication semantics), and that the download link expires after 24 h. These are exactly the operational facts an agent needs and that no structured field supplies.

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-loaded with the core action and every sentence carries information (return fields, link lifetime, idempotency). The mid-sentence em-dash aside about document: 'invoice' interrupts the main clause and makes it slightly harder to scan than a cleaner sentence order would.

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, and the description compensates by enumerating the returns (document_id, 24 h download link, file name, size), plus the idempotency and no-side-effects guarantees. Nothing an agent needs to call this correctly on a 4-parameter tool is missing.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3; the description still adds intent by explaining that quote accepts a number like 'OF0001' or a uuid and that entity + entity_id attach the document to a named record. It largely restates the schema's own notes, so the added value is real but modest.

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?

Names a specific verb-plus-resource: export an AbaNinja quote (Offerte) — or invoice — as PDF and file it as a CallPilotAI document. The dual nature (render PDF + persist as document + return document_id) is stated explicitly, so an agent can tell this apart from pure-render or pure-list siblings.

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

Usage Guidelines4/5

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

Gives clear conditions in-line: use document: 'invoice' to export an invoice instead of a quote, and pass the returned document_id to send_email to mail it. It does not explicitly exclude or compare against the sibling render_document_pdf, so an agent must infer the boundary, which keeps this below a 5.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.