Skip to main content
Glama

Midas Agent Tool Store

document.markdown

Read-only

Convert a supplied text-layer PDF (up to 10 pages) or a PowerPoint (up to 10 slides) into validated Markdown. No OCR or network resources. Price: $0.0024 USDC per successful job. Status: enabled.

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": {
      "filename": "<filename>",
      "content_base64": "<content_base64>",
      "rights_attested": "<rights_attested>"
    },
    "name": "document.markdown"
  }
}

Input Schema

NameRequiredDescriptionDefault
filenameYes
content_base64Yes
rights_attestedYesCustomer attests to permission to process this document

Output Schema

NameRequiredDescriptionDefault
job_idYes
resultYes
statusYes
chargedYes
receiptYes
retrieval_tokenYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, and the description reinforces this by stating no OCR and no network resources are used, plus a per-successful-job price of $0.0024 USDC and current enabled status. It does not explain what 'validated' means or what happens on partial/failed conversion, leaving some behavioral gaps beyond 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?

Four tight sentences, front-loaded with the core action and input types, followed by exclusions, cost, and status. No filler wording and no repetition of the schema or annotations.

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?

With an output schema present, return values need not be described, and annotations cover the safety profile, so the description is nearly sufficient for a 3-parameter tool. Minor gaps remain around 'validated' output meaning and failure behavior for rejected documents.

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 coverage is only 33%, with just rights_attested documented in the schema. The description contributes real constraints on the payload (must be a text-layer PDF/PowerPoint, capped at 10 pages/slides), but filename and content_base64 semantics remain unaddressed by either source.

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 (Convert), the exact input types accepted (text-layer PDF, PowerPoint), and the output format (validated Markdown), plus page/slide ceilings. An agent can tell immediately that this is a document-to-Markdown conversion tool distinct from web.read or a capability lookup.

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?

Gives clear applicability context: text-layer PDFs only, up to 10 pages or 10 slides, and explicitly excludes OCR, which implicitly rules out scanned/image-only documents. It does not name an alternative for image-based or larger documents, so the when-not path is stated but not routed anywhere.

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