Skip to main content
Glama
CodeMill-Solutions

yuki-mcp

upload_document_from_path

Upload a local PDF file directly to the Yuki archive. Handles file reading and encoding internally, so you don't need to pass base64 strings. Use when the file is available on disk.

Instructions

Upload a PDF from a local file path to the Yuki archive. Reads and encodes the file internally — no need to pass base64 strings. Use this instead of upload_document when the file is available on disk. Call get_document_folders first to find the correct folder ID.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
amountNoTotal amount on the document (e.g. invoice total including VAT)
folderNoArchive folder ID. Use get_document_folders to list available folders.
projectNoProject code to link this document to a Yuki project
remarksNoInternal remarks shown in the archive
currencyNoISO 4217 currency code for the document amountEUR
fileNameNoOverride the file name sent to Yuki. Defaults to the basename of filePath.
filePathYesAbsolute path to the file on the local filesystem (e.g. '/tmp/invoice-2024-0042.pdf')
costCategoryNoGL account code for automatic cost categorisation (e.g. '4000')
paymentMethodNoPayment method code. 0 = unknown, 1 = transfer, 2 = direct collection
administrationIdNoAdministration ID (GUID). Defaults to YUKI_DOMAIN_ID env var.
Behavior3/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It does reveal a key behavior: 'Reads and encodes the file internally — no need to pass base64 strings.' However, it does not disclose other behavioral aspects such as required permissions, error conditions (e.g., missing file), or side effects. This is partial disclosure, but not comprehensive enough for a higher score.

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?

The description is exceptionally concise: three sentences, each serving a distinct purpose. The first gives the action, the second explains a key internal behavior, the third provides usage alternatives and a prerequisite. Every sentence earns its place with no fluff.

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

Completeness3/5

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

The tool has 10 parameters (though only 1 required), no output schema, and no annotations. The description gives the core purpose, the alternative, and a prerequisite, which is helpful. However, it does not mention any return value or error scenarios. Given the complexity and lack of output schema, this is a moderate gap; the description is complete enough for basic usage but not fully.

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?

The schema already documents all 10 parameters with descriptions, so schema coverage is 100%, giving a baseline of 3. The description adds little extra parameter semantics beyond the schema; it mentions the internal encoding to explain why base64 isn't needed, but this is more behavioral than parameter-specific. Thus, no reason to raise above the baseline.

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?

The description clearly states the tool's function: 'Upload a PDF from a local file path to the Yuki archive.' It uses a specific verb + resource. It also distinguishes itself from the sibling tool upload_document by noting to 'Use this instead of upload_document when the file is available on disk.'

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

Usage Guidelines5/5

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

The description provides explicit usage guidance: it names the alternative tool (upload_document) and the condition for choosing this tool ('when the file is available on disk'). It also gives a prerequisite step ('Call get_document_folders first to find the correct folder ID'). This fully satisfies the when/alternatives criteria.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/CodeMill-Solutions/yuki-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server