Skip to main content
Glama
iseppo

e-arveldaja MCP Server

by iseppo

Download Source Document

get_document
Read-onlyIdempotent

Download the source document attached to a purchase invoice, sale invoice, journal, or bank transaction. Returns base64 content or metadata for large files.

Instructions

Download the source document (base64) attached to a purchase invoice, sale invoice, journal, or bank transaction. Documents larger than ~5 MB, or when metadata_only=true, return name and size only (the base64 payload is omitted to protect the MCP transport).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesID of the record whose document to download.
entity_typeYesWhich record the source document belongs to.
metadata_onlyNoReturn only the filename and size, not the (potentially large) base64 contents.
Behavior5/5

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

Annotations already declare readOnlyHint, so safety is clear. The description adds valuable behavioral details: size threshold (~5 MB), metadata_only behavior, and rationale about protecting MCP transport. No contradictions.

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 sentences, front-loaded with purpose, no fluff. Each sentence adds necessary 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?

While behavioral details are covered, the return format (full base64 payload structure) is not described, but output schema is absent. Could be slightly more explicit about return shape.

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

Parameters5/5

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

All parameters have schema descriptions, and the description adds contextual meaning: explains how metadata_only affects return values and addresses size limits, going beyond the schema.

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 specific verb 'download' and resource 'source document' attached to four entity types, clearly distinguishing from sibling tools like get_sale_invoice_document which likely returns a different document.

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?

The description provides guidance on when to use metadata_only (for large documents or when minimal info is needed) but does not explicitly contrast with alternative tools for similar documents.

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/iseppo/e-arveldaja-mcp'

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