Skip to main content
Glama
truls27a

wint-mcp

by truls27a

Upload Supplier Invoice

upload_supplier_invoice

Send a supplier invoice file to Wint for preview, or confirm it to submit the invoice for approval.

Instructions

Send a supplier invoice (leverantörsfaktura) file to Wint, as "Lägg till dokument" → Leverantörsfaktura does. Wint reads the invoice and it then shows up for approval. Without confirm it only returns a preview.

Input Schema

NameRequiredDescriptionDefault
companyNoCompany id or name; may be omitted with one company
confirmNo
file_urlNo
file_nameNo
upload_idsNo
file_base64No

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior4/5

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

Annotations declare openWorldHint=true, non-idempotent, non-destructive, but say nothing about what the commit actually does. The description supplies that: Wint parses the invoice, it enters an approval queue, and an unconfirmed call is a safe dry-run preview. It omits duplicate handling and what a preview returns, but the core side-effect story is clearly disclosed.

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 action and immediately followed by the preview/commit distinction. No filler.

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

Completeness2/5

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

An output schema exists so return values needn't be described, but for a six-parameter upload tool with three mutually alternative file-source inputs and zero required parameters, the description leaves the agent guessing which combination is valid. That is a substantial gap for the tool's core invocation question.

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

Parameters2/5

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

Schema coverage is only 17% and six parameters are optional, yet the description only adds meaning for confirm. The critical ambiguity - file_url vs file_base64 vs upload_ids vs file_name as alternative ways to supply the file - is left entirely undocumented in both schema and description.

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?

States a specific verb and resource (send a supplier invoice file to Wint) and anchors it to the corresponding UI action, which makes the intent unambiguous. It doesn't explicitly contrast itself with the neighbouring upload_document / upload_other_document tools, so it stops short of a 5.

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

Usage Guidelines3/5

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

The confirm gate is explained ("without confirm it only returns a preview"), which is genuine when-to-use guidance. But there is no explicit routing between this tool and upload_document, upload_other_document, or upload_stage, even though all four appear as siblings, leaving the main selection question to inference.

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