Skip to main content
Glama
debitura

Debitura

Official

Upload Case File

upload_case_file
Destructive

Attach supporting documents such as invoices, contracts, or proof of delivery to an existing case. Accepts PDF, images, and spreadsheets up to 25 MB.

Instructions

Attach a document to a case (invoice copy, contract, correspondence, proof of delivery). Max 25 MB. Allowed extensions: .pdf, .xls, .xlsx, .csv, .txt, .jpg, .jpeg, .png, .gif. Provide the file content base64-encoded.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
caseIdYesDebitura case ID (GUID)
fileNameYesFile name including extension, e.g. "invoice-1042.pdf"
contentTypeNoMIME type, e.g. "application/pdf" (inferred from extension if omitted)
descriptionNoShort description of the document
documentTypeNoDocument category (default: OriginalInvoice). Values: OriginalInvoice · DebtorDocuments · CreditorDocuments · PartnerDocuments · DemandLetter · Miscellaneous
contentBase64YesFile content, base64-encoded
Behavior4/5

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

Annotations mark destructiveHint=true, and the description adds concrete behavioral details: max 25 MB, allowed extensions, and base64 encoding requirement. No contradiction with annotations.

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?

Three concise sentences: purpose, constraints, encoding requirement. Front-loaded with no redundant information.

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?

Covers input constraints well but does not describe return value or success/error behavior. Given no output schema, this is a minor gap; overall sufficient for an upload tool.

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

Parameters4/5

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

Schema coverage is 100% with descriptions for all 6 parameters. The description adds value by specifying size and extension limits not present in the schema, and clarifying the base64 encoding requirement.

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 uses the verb 'Attach' and resource 'document to a case', with specific examples of document types (invoice copy, contract, etc.). This clearly distinguishes it from sibling tools like list_case_files.

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 description implies the tool is for uploading files to cases with size/extension constraints, but does not explicitly state when to use it versus alternatives (e.g., no mention of when not to use it or comparison with send_case_message for document attachment).

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/debitura/Debitura.MCP'

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