Skip to main content
Glama
AsharFinance

Ashar Exchange MCP Server

Official
by AsharFinance

Upload Payout File

ashar_upload_payout

Upload payout supporting documents as Base64 to store them in the tenant instance and retrieve sanitized upload IDs.

Instructions

Upload a file (e.g. payout supporting document) to the tenant's instance.

Args:

  • filename (string): the file name (e.g. "doc.pdf")

  • mime (string, optional): the MIME type (e.g. "application/pdf")

  • file_base64 (string): the file content Base64-encoded

The server stores the binary and returns the sanitized upload id/details.

Input Schema

NameRequiredDescriptionDefault
mimeNoMIME type
filenameYesFile name
file_base64YesFile content Base64-encoded

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already disclose that this is a non-read-only, non-idempotent, open-world upload. The description adds useful behavior by stating that the server stores the binary and returns sanitized upload id/details, but it omits file-size limits, allowed MIME constraints, and how the upload id relates to later payout operations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is front-loaded with the core action and includes a compact Args block. It is efficient overall, though the Args block overlaps substantially with the already-descriptive schema.

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?

For a simple three-parameter upload with annotations and full schema coverage, the description is adequate and even notes the return shape despite no output schema. However, it leaves out operational constraints and the workflow relationship between the returned upload id and payout execution.

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 already 100%, so the baseline is 3. The description adds some semantic value with examples for filename and mime and clarifies that file_base64 is the Base64-encoded content, though it still does not document constraints such as accepted MIME types or size limits.

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?

The description states a clear verb and resource: upload a file (such as a payout supporting document) to the tenant's instance. It does not explicitly differentiate from payout execution or quote siblings, so it is strong but not fully sibling-aware.

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

Usage Guidelines2/5

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

Usage is only implied by the example 'payout supporting document'. The description does not say when this upload should be used relative to execute_payout, create_payout_quote, or other payout tools, and it provides no prerequisites or exclusions.

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

Deploy Server

Other Tools