Server definition
- Hash
- sha256:03d18440aa0927112b5296cc06eac5420fd52ccdf3c4d96c74a4b10d966e54e8
- What it is
- What a remote MCP server returned when asked what it offers: 3 tools
The blob, as servednamed by its sha256
{
"instructions": "Turns invoices into an Excel workbook and checks them. Read the invoice files the user provides yourself, then pass every invoice to create_invoice_spreadsheet with values exactly as printed (null when not printed or not legible; never estimate). Give the user the download link exactly as returned and tell them what the checks found. Use check_invoices when the user only wants totals verified or duplicates found. Use list_spreadsheet_templates when the user wants a blank spreadsheet to fill in by hand. The tools do not read files, give tax advice or file returns.",
"tools": [
{
"description": "Use this when the user wants invoices verified without making a file: whether net plus VAT equals the total, whether line items add up, which fields are missing, and which invoices look like duplicates. Returns the findings and totals per currency. Nothing is stored.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"invoices": {
"description": "Every invoice, one entry each, with values exactly as printed on the document. Use null for anything not printed or not legible; never estimate.",
"items": {
"properties": {
"category": {
"anyOf": [
{
"maxLength": 120,
"type": "string"
},
{
"type": "null"
}
]
},
"currency": {
"anyOf": [
{
"pattern": "^[A-Za-z]{3}$",
"type": "string"
},
{
"type": "null"
}
],
"description": "ISO 4217 code, e.g. GBP, USD, EUR."
},
"date": {
"anyOf": [
{
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"type": "string"
},
{
"type": "null"
}
],
"description": "Invoice date as YYYY-MM-DD."
},
"description": {
"anyOf": [
{
"maxLength": 4000,
"type": "string"
},
{
"type": "null"
}
],
"description": "One line on what the invoice is for."
},
"invoice_number": {
"anyOf": [
{
"maxLength": 200,
"type": "string"
},
{
"type": "null"
}
]
},
"line_items": {
"items": {
"properties": {
"category": {
"anyOf": [
{
"maxLength": 120,
"type": "string"
},
{
"type": "null"
}
]
},
"description": {
"description": "The line as printed.",
"maxLength": 2000,
"type": "string"
},
"net": {
"anyOf": [
{
"maximum": 999999999999,
"minimum": -999999999999,
"type": "number"
},
{
"type": "null"
}
],
"description": "Line amount before VAT."
},
"quantity": {
"anyOf": [
{
"maximum": 999999999999,
"minimum": -999999999999,
"type": "number"
},
{
"type": "null"
}
]
},
"unit_price": {
"anyOf": [
{
"maximum": 999999999999,
"minimum": -999999999999,
"type": "number"
},
{
"type": "null"
}
],
"description": "Price for one unit, before VAT."
},
"vat": {
"anyOf": [
{
"maximum": 999999999999,
"minimum": -999999999999,
"type": "number"
},
{
"type": "null"
}
],
"description": "VAT or sales tax on this line."
},
"vat_rate": {
"anyOf": [
{
"maximum": 999999999999,
"minimum": -999999999999,
"type": "number"
},
{
"type": "null"
}
],
"description": "VAT rate as a percentage, e.g. 20 for 20%."
}
},
"required": [
"description"
],
"type": "object"
},
"maxItems": 2000,
"type": "array"
},
"net": {
"anyOf": [
{
"maximum": 999999999999,
"minimum": -999999999999,
"type": "number"
},
{
"type": "null"
}
],
"description": "Invoice amount before VAT."
},
"notes": {
"anyOf": [
{
"maxLength": 5000,
"type": "string"
},
{
"type": "null"
}
]
},
"po_number": {
"anyOf": [
{
"maxLength": 200,
"type": "string"
},
{
"type": "null"
}
],
"description": "The buyer's purchase order number, if printed."
},
"supplier": {
"anyOf": [
{
"maxLength": 300,
"type": "string"
},
{
"type": "null"
}
],
"description": "Who issued the invoice."
},
"supplier_tax_id": {
"anyOf": [
{
"maxLength": 100,
"type": "string"
},
{
"type": "null"
}
],
"description": "The supplier's VAT or company registration number, if printed."
},
"total": {
"anyOf": [
{
"maximum": 999999999999,
"minimum": -999999999999,
"type": "number"
},
{
"type": "null"
}
],
"description": "Amount due including VAT."
},
"vat": {
"anyOf": [
{
"maximum": 999999999999,
"minimum": -999999999999,
"type": "number"
},
{
"type": "null"
}
],
"description": "Total VAT or sales tax."
},
"vat_rate": {
"anyOf": [
{
"maximum": 999999999999,
"minimum": -999999999999,
"type": "number"
},
{
"type": "null"
}
],
"description": "VAT rate as a percentage when one rate applies to the whole invoice."
}
},
"type": "object"
},
"maxItems": 200,
"minItems": 1,
"type": "array"
}
},
"required": [
"invoices"
],
"type": "object"
},
"name": "check_invoices",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"check_count": {
"type": "number"
},
"checks": {
"items": {
"additionalProperties": false,
"properties": {
"invoice_number": {
"type": [
"string",
"null"
]
},
"message": {
"type": "string"
},
"row": {
"description": "Position of the invoice in the list given, starting at 1.",
"type": "number"
},
"severity": {
"enum": [
"error",
"warning"
],
"type": "string"
}
},
"required": [
"row",
"invoice_number",
"severity",
"message"
],
"type": "object"
},
"type": "array"
},
"invoice_count": {
"type": "number"
},
"line_item_count": {
"type": "number"
},
"totals": {
"items": {
"additionalProperties": false,
"properties": {
"currency": {
"type": "string"
},
"invoices": {
"type": "number"
},
"net": {
"type": "string"
},
"total": {
"type": "string"
},
"vat": {
"type": "string"
}
},
"required": [
"currency",
"invoices",
"net",
"vat",
"total"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"invoice_count",
"line_item_count",
"totals",
"check_count",
"checks"
],
"type": "object"
}
},
{
"description": "Use this when the user wants invoices, bills or receipts put into an Excel spreadsheet. Builds an .xlsx workbook with one row per invoice, one row per line item, a sheet of arithmetic, missing-field and duplicate checks, and totals per currency, and returns a download link that works for 24 hours.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"invoices": {
"description": "Every invoice, one entry each, with values exactly as printed on the document. Use null for anything not printed or not legible; never estimate.",
"items": {
"properties": {
"category": {
"anyOf": [
{
"maxLength": 120,
"type": "string"
},
{
"type": "null"
}
]
},
"currency": {
"anyOf": [
{
"pattern": "^[A-Za-z]{3}$",
"type": "string"
},
{
"type": "null"
}
],
"description": "ISO 4217 code, e.g. GBP, USD, EUR."
},
"date": {
"anyOf": [
{
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"type": "string"
},
{
"type": "null"
}
],
"description": "Invoice date as YYYY-MM-DD."
},
"description": {
"anyOf": [
{
"maxLength": 4000,
"type": "string"
},
{
"type": "null"
}
],
"description": "One line on what the invoice is for."
},
"invoice_number": {
"anyOf": [
{
"maxLength": 200,
"type": "string"
},
{
"type": "null"
}
]
},
"line_items": {
"items": {
"properties": {
"category": {
"anyOf": [
{
"maxLength": 120,
"type": "string"
},
{
"type": "null"
}
]
},
"description": {
"description": "The line as printed.",
"maxLength": 2000,
"type": "string"
},
"net": {
"anyOf": [
{
"maximum": 999999999999,
"minimum": -999999999999,
"type": "number"
},
{
"type": "null"
}
],
"description": "Line amount before VAT."
},
"quantity": {
"anyOf": [
{
"maximum": 999999999999,
"minimum": -999999999999,
"type": "number"
},
{
"type": "null"
}
]
},
"unit_price": {
"anyOf": [
{
"maximum": 999999999999,
"minimum": -999999999999,
"type": "number"
},
{
"type": "null"
}
],
"description": "Price for one unit, before VAT."
},
"vat": {
"anyOf": [
{
"maximum": 999999999999,
"minimum": -999999999999,
"type": "number"
},
{
"type": "null"
}
],
"description": "VAT or sales tax on this line."
},
"vat_rate": {
"anyOf": [
{
"maximum": 999999999999,
"minimum": -999999999999,
"type": "number"
},
{
"type": "null"
}
],
"description": "VAT rate as a percentage, e.g. 20 for 20%."
}
},
"required": [
"description"
],
"type": "object"
},
"maxItems": 2000,
"type": "array"
},
"net": {
"anyOf": [
{
"maximum": 999999999999,
"minimum": -999999999999,
"type": "number"
},
{
"type": "null"
}
],
"description": "Invoice amount before VAT."
},
"notes": {
"anyOf": [
{
"maxLength": 5000,
"type": "string"
},
{
"type": "null"
}
]
},
"po_number": {
"anyOf": [
{
"maxLength": 200,
"type": "string"
},
{
"type": "null"
}
],
"description": "The buyer's purchase order number, if printed."
},
"supplier": {
"anyOf": [
{
"maxLength": 300,
"type": "string"
},
{
"type": "null"
}
],
"description": "Who issued the invoice."
},
"supplier_tax_id": {
"anyOf": [
{
"maxLength": 100,
"type": "string"
},
{
"type": "null"
}
],
"description": "The supplier's VAT or company registration number, if printed."
},
"total": {
"anyOf": [
{
"maximum": 999999999999,
"minimum": -999999999999,
"type": "number"
},
{
"type": "null"
}
],
"description": "Amount due including VAT."
},
"vat": {
"anyOf": [
{
"maximum": 999999999999,
"minimum": -999999999999,
"type": "number"
},
{
"type": "null"
}
],
"description": "Total VAT or sales tax."
},
"vat_rate": {
"anyOf": [
{
"maximum": 999999999999,
"minimum": -999999999999,
"type": "number"
},
{
"type": "null"
}
],
"description": "VAT rate as a percentage when one rate applies to the whole invoice."
}
},
"type": "object"
},
"maxItems": 200,
"minItems": 1,
"type": "array"
},
"title": {
"description": "Optional name for the file, e.g. \"October supplier invoices\".",
"maxLength": 60,
"type": "string"
}
},
"required": [
"invoices"
],
"type": "object"
},
"name": "create_invoice_spreadsheet",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"check_count": {
"description": "All findings; every one is on the Checks sheet.",
"type": "number"
},
"checks": {
"items": {
"additionalProperties": false,
"properties": {
"invoice_number": {
"type": [
"string",
"null"
]
},
"message": {
"type": "string"
},
"row": {
"description": "Position of the invoice in the list given, starting at 1.",
"type": "number"
},
"severity": {
"enum": [
"error",
"warning"
],
"type": "string"
}
},
"required": [
"row",
"invoice_number",
"severity",
"message"
],
"type": "object"
},
"type": "array"
},
"download_url": {
"description": "Link to the .xlsx file. Give it to the user unchanged.",
"type": "string"
},
"expires_at": {
"description": "When the link stops working and the file is deleted.",
"type": "string"
},
"filename": {
"type": "string"
},
"invoice_count": {
"type": "number"
},
"line_item_count": {
"type": "number"
},
"totals": {
"items": {
"additionalProperties": false,
"properties": {
"currency": {
"type": "string"
},
"invoices": {
"type": "number"
},
"net": {
"type": "string"
},
"total": {
"type": "string"
},
"vat": {
"type": "string"
}
},
"required": [
"currency",
"invoices",
"net",
"vat",
"total"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"download_url",
"filename",
"expires_at",
"invoice_count",
"line_item_count",
"totals",
"check_count",
"checks"
],
"type": "object"
}
},
{
"description": "Use this when the user wants a blank Excel template to fill in by hand for invoices, expenses, landlord accounts, CIS deductions or construction and development costs. Returns the available templates with a page describing each and a direct .xlsx link.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {},
"type": "object"
},
"name": "list_spreadsheet_templates",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"templates": {
"items": {
"additionalProperties": false,
"properties": {
"download_url": {
"type": "string"
},
"for": {
"type": "string"
},
"name": {
"type": "string"
},
"page_url": {
"type": "string"
}
},
"required": [
"name",
"for",
"page_url",
"download_url"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"templates"
],
"type": "object"
}
}
]
}Verify it yourself
curl -s https://api.teppi.xyz/v1/evidence/sha256:03d18440aa0927112b5296cc06eac5420fd52ccdf3c4d96c74a4b10d966e54e8 | sha256sum