Skip to main content
Glama

JustMarkdown

Convert an uploaded file to Markdown

convert_upload

Convert a file previously uploaded with request_upload_url. Pass the file_key from that call. API-key only; consumes 1 credit like convert_base64.

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": {
      "file_key": "<file_key>",
      "filename": "<filename>"
    },
    "name": "convert_upload"
  }
}

Input Schema

NameRequiredDescriptionDefault
file_keyYesThe file_key returned by request_upload_url.
filenameYesOriginal file name, used for format detection.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

With no annotations, the description carries the full disclosure burden, and it does add two non-schema facts: API-key-only auth and a 1-credit cost benchmarked against convert_base64. It says nothing about whether conversion is synchronous, what errors occur for unsupported formats, size limits, or where the resulting Markdown goes, leaving meaningful behavioral gaps.

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 short sentences, front-loaded with the prerequisite and followed by the cost/auth caveats. Nothing is repeated and no sentence could be removed without losing information.

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 two-parameter tool with full schema coverage, the description covers prerequisites, auth, and cost. However, with no output schema the description should say what is returned (the Markdown content, a download reference, or similar), and that is left only to the title.

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%, so both parameters are already documented with the same meaning ('file_key returned by request_upload_url'). The description reinforces the provenance but adds no new format, constraints, or edge-case meaning beyond the schema, so the baseline 3 applies.

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?

States a specific verb and resource ('convert a file previously uploaded') and anchors it to the request_upload_url workflow, which distinguishes it from convert_base64 and convert_url. An agent can tell which conversion sibling to pick without opening another schema.

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?

Makes the prerequisite explicit ('previously uploaded with request_upload_url') and tells the agent exactly what to pass ('file_key from that call'), which is clear when-to-use guidance. It does not explicitly exclude the base64/url alternatives, so it falls short of a full when/when-not statement.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources