Skip to main content
Glama
Omise MCP Server

Omise MCP Server

by nitishomise

upload_dispute_document

Upload a supporting document to an Omise dispute using the dispute ID, filename, and base64-encoded content.

Instructions

Upload a document for a dispute

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "dispute_id": "<dispute_id>",
      "filename": "<filename>",
      "content": "<content>"
    },
    "name": "upload_dispute_document"
  }
}

Input Schema

NameRequiredDescriptionDefault
contentYesDocument content (base64 encoded)
filenameYesDocument filename
dispute_idYesDispute ID to upload document for
descriptionNoDocument description
content_typeNoDocument content typeapplication/pdf

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.6/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden of behavioral disclosure. 'Upload' signals a write operation, but nothing is said about required permissions, size limits, whether an existing document is replaced, or how failures are surfaced for a file-upload mutation.

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?

A single six-word sentence with no filler and the action front-loaded. It is efficient, though the brevity reflects under-specification rather than disciplined editing.

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?

For a five-parameter file-upload mutation with no annotations and no output schema, the description omits everything an agent needs beyond the schema: constraints, error behavior, and what is returned after upload. The rich schema partially compensates, but the behavioral side is entirely missing.

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?

Schema description coverage is 100%, with every one of the five parameters documented in the schema, including the base64 encoding of content and the content_type enum. The description adds no additional meaning, so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a verb ('Upload') and a resource ('document for a dispute'), so the basic action is unambiguous. However, it is essentially an expansion of the tool name and gives no differentiation from siblings such as list_dispute_documents, retrieve_dispute_document, or destroy_dispute_document, which share the same resource.

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?

There is no guidance on when to use this tool versus retrieving or listing dispute documents, nor any prerequisites such as whether the dispute must be open or in a specific state. The agent must infer usage entirely from the name.

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