Skip to main content
Glama
diblaze

bokio-mcp

bokio_get_supplier_invoice

Read-only

Fetch one supplier invoice by ID in Bokio's returned format; download its attached file separately with bokio_download_upload.

Instructions

Get one supplier invoice by id, as Bokio returns it. An attached file downloads with bokio_download_upload.

Input Schema

NameRequiredDescriptionDefault
companyIdNoBokio company id. Defaults to BOKIO_COMPANY_ID if omitted.
supplierInvoiceIdYesId from bokio_list_supplier_invoices; an unknown id returns a not-found error.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.5.0
    • addedInput schema / properties / supplierInvoiceId / description
      Added value: +"Id from bokio_list_supplier_invoices; an unknown id returns a not-found error."
  2. Addedv0.4.0

TDQS

A4/5.0
Behavior4/5

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

With readOnlyHint=true already covering the safety profile, the description adds real value: 'as Bokio returns it' signals a raw passthrough with no normalization, and the attachment/download hint is behavior an agent would otherwise only discover by trying it. It doesn't mention error behavior, but the schema already covers the not-found case.

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

Conciseness5/5

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

Two short sentences, front-loaded with the core action and followed by the one non-obvious operational hint. Nothing is wasted.

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

Completeness4/5

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

For a simple read-only by-id getter with full schema coverage and no output schema, this covers what an agent needs: what it returns (the raw Bokio representation) and how to get the attached file. A brief note on the return shape would push it higher, but that is a minor gap.

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% -- both companyId (with BOKIO_COMPANY_ID default) and supplierInvoiceId (id from bokio_list_supplier_invoices, unknown id returns not-found) are fully documented in the schema. The description only restates 'by id' and adds nothing new, so 3 is the correct baseline.

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

Purpose4/5

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

Specific verb+resource: 'Get one supplier invoice by id', which cleanly separates it from the sibling bokio_list_supplier_invoices. It also names bokio_list_supplier_invoices' output implicitly as the id source, though it doesn't say so explicitly in the description itself.

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?

The follow-up sentence routes the agent to bokio_download_upload when an attached file exists, which is a concrete alternative-selection cue. It stops short of stating when not to use this tool (e.g. prefer the list tool for browsing or searching).

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