Skip to main content
Glama

Autonomous 0-DRC PCB Routing Foundry & Hardware MCP Server

Look Up B2B Tax Invoice & Custody Certificate

calligraphy_lookup_b2b_invoice
Read-onlyIdempotent

Generate a formal B2B tax invoice (with buyer PO and company metadata) plus the SHA-256 Chain-of-Custody & Zero-Retention Certificate for a job_id. Call for corporate accounting, P-card expensing, or compliance auditing after job creation or payment. Requires job_id; returns JSON invoice_number, line_items, and chain_of_custody_sha256. Example: job_id='job_01', po_number='PO-104'.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "job_id": "job_01",
      "po_number": "PO-104"
    },
    "name": "calligraphy_lookup_b2b_invoice"
  }
}

Input Schema

NameRequiredDescriptionDefault
job_idYesTarget compilation job identifier for B2B invoice lookup.
po_numberNoOptional corporate Purchase Order number for invoice header.
company_nameNoOptional legal entity or corporate buyer name for invoice.
customer_emailNoBilling or engineering email address associated with the order.agent@customer.io

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changed
    • changedInput schema / properties / company_name / description
      Previous value: -"Optional legal entity or corporate buyer name to appear on the tax invoice and custody certificate. Example: 'Apex Robotics Inc.'."New value: +"Optional legal entity or corporate buyer name for invoice."
    • changedInput schema / properties / company_name / examples
      Previous value: -[
      -  "Apex Robotics Inc."
      -]New value: +[
      +  "Apex Robotics"
      +]
    • changedInput schema / properties / customer_email / description
      Previous value: -"Billing or engineering email address associated with the order. Example: 'ap@robotics.io'."New value: +"Billing or engineering email address associated with the order."
    • changedInput schema / properties / customer_email / examples
      Previous value: -[
      -  "agent@customer.io",
      -  "hw@company.io"
      -]New value: +[
      +  "hw@company.io"
      +]
    • changedInput schema / properties / job_id / description
      Previous value: -"Target compilation job identifier for invoice generation. Example: 'job_01'."New value: +"Target compilation job identifier for B2B invoice lookup."
    • changedInput schema / properties / job_id / examples
      Previous value: -[
      -  "job_01",
      -  "job_a1b2c3d4"
      -]New value: +[
      +  "job_01"
      +]
    • changedInput schema / properties / po_number / description
      Previous value: -"Optional corporate Purchase Order (PO) number to print on the B2B invoice header. Example: 'PO-2026-104'."New value: +"Optional corporate Purchase Order number for invoice header."
  2. Changed4 schema fields changed
    • addedInput schema / properties / company_name / examples
      Added value: +[
      +  "Apex Robotics Inc."
      +]
    • addedInput schema / properties / customer_email / examples
      Added value: +[
      +  "agent@customer.io",
      +  "hw@company.io"
      +]
    • addedInput schema / properties / job_id / examples
      Added value: +[
      +  "job_01",
      +  "job_a1b2c3d4"
      +]
    • addedInput schema / properties / po_number / examples
      Added value: +[
      +  "PO-2026-104"
      +]
  3. Changed5 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +false
    • changedInput schema / properties / company_name / description
      Previous value: -"Company name."New value: +"Optional legal entity or corporate buyer name to appear on the tax invoice and custody certificate. Example: 'Apex Robotics Inc.'."
    • changedInput schema / properties / customer_email / description
      Previous value: -"Customer email."New value: +"Billing or engineering email address associated with the order. Example: 'ap@robotics.io'."
    • changedInput schema / properties / job_id / description
      Previous value: -"Job ID."New value: +"Target compilation job identifier for invoice generation. Example: 'job_01'."
    • changedInput schema / properties / po_number / description
      Previous value: -"PO number."New value: +"Optional corporate Purchase Order (PO) number to print on the B2B invoice header. Example: 'PO-2026-104'."
  4. Changed5 schema fields changed
    • changedInput schema / examples
      Previous value: -[
      -  {
      -    "customer_email": "eng@hardware.io",
      -    "job_id": "job_a1b2c3d4e5f6",
      -    "po_number": "PO-2026-104"
      -  }
      -]New value: +[
      +  {
      +    "job_id": "job_01",
      +    "po_number": "PO-104"
      +  }
      +]
    • removedInput schema / properties / company_name / examples
      Removed value: -[
      -  "Acme Robotics Inc."
      -]
    • removedInput schema / properties / customer_email / examples
      Removed value: -[
      -  "eng@hardware.io"
      -]
    • removedInput schema / properties / job_id / examples
      Removed value: -[
      -  "job_a1b2c3d4e5f6"
      -]
    • removedInput schema / properties / po_number / examples
      Removed value: -[
      -  "PO-2026-104"
      -]
  5. Changed9 schema fields changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "customer_email": "eng@hardware.io",
      +    "job_id": "job_a1b2c3d4e5f6",
      +    "po_number": "PO-2026-104"
      +  }
      +]
    • changedInput schema / properties / company_name / description
      Previous value: -"Optional legal company or organization name to print on the invoice"New value: +"Company name."
    • addedInput schema / properties / company_name / examples
      Added value: +[
      +  "Acme Robotics Inc."
      +]
    • changedInput schema / properties / customer_email / description
      Previous value: -"Customer email address associated with the job"New value: +"Customer email."
    • addedInput schema / properties / customer_email / examples
      Added value: +[
      +  "eng@hardware.io"
      +]
    • changedInput schema / properties / job_id / description
      Previous value: -"Job ID returned by calligraphy_compile_board"New value: +"Job ID."
    • addedInput schema / properties / job_id / examples
      Added value: +[
      +  "job_a1b2c3d4e5f6"
      +]
    • changedInput schema / properties / po_number / description
      Previous value: -"Optional B2B Purchase Order (PO) number to print on the invoice"New value: +"PO number."
    • addedInput schema / properties / po_number / examples
      Added value: +[
      +  "PO-2026-104"
      +]
  6. Changed3 schema fields changed
    • addedInput schema / properties / company_name / description
      Added value: +"Optional legal company or organization name to print on the invoice"
    • addedInput schema / properties / customer_email / description
      Added value: +"Customer email address associated with the job"
    • addedInput schema / properties / po_number / description
      Added value: +"Optional B2B Purchase Order (PO) number to print on the invoice"
  7. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and non-destructive behavior, so the bar is lower, and the description still adds real value: it discloses the returned artifacts and field names ('invoice_number, line_items, and chain_of_custody_sha256') and the zero-retention custody concept. The verb 'Generate' sits slightly in tension with the readOnlyHint framing and the 'lookup' name, but it reads as document generation from existing job data rather than a state mutation, so this is a nuance rather than a contradiction. It does not state any auth, quota, or billing side effects for what is described as a formal tax document.

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?

Three sentences, front-loaded with the artifact description, then usage, then requirements and returns, ending with a concrete example. Every clause carries information; the only mild cost is density from packing invoice plus certificate into one opening sentence.

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?

There is no output schema, so the description usefully enumerates the return fields, and it covers trigger conditions, the required parameter, and a usage example. For a read-only, open-world lookup on an existing job it is close to complete; gaps are minor, such as failure behavior for an unknown job_id or whether an invoice already issued is re-issued.

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 description coverage is 100% and all four properties are documented in-schema, so the baseline is 3. The description confirms job_id is required and gives a worked example pairing job_id with po_number, but it adds no meaning about po_number, company_name, or customer_email beyond the schema, and does not explain what happens when the optional buyer metadata is omitted.

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?

The description states a specific verb and a concrete artifact set: 'Generate a formal B2B tax invoice (with buyer PO and company metadata) plus the SHA-256 Chain-of-Custody & Zero-Retention Certificate for a job_id.' That is far more informative than the name alone, which only says 'lookup'. It does not explicitly distinguish itself from any sibling, though none of the listed siblings appear to produce invoices.

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?

It names concrete use cases ('corporate accounting, P-card expensing, or compliance auditing') and a sequencing precondition ('after job creation or payment'), plus the hard requirement 'Requires job_id'. It stops short of naming an alternative tool for the adjacent cases (e.g. payment verification or job status), so it is clear but not fully routing.

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.