Skip to main content
Glama

parse

Convert documents to Markdown from file paths or URLs. Automatically routes across parsing backends with fallback to ensure success.

Instructions

Convert a document to markdown. Routes across backends automatically.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hintsNoOptional backend hints (reserved for future use).
sourceYesA filesystem path or http(s) URL.
backendNoForce a specific backend (e.g. "markitdown", "docling", "llamaparse"). Omit to let the router pick + fall back.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.5/5.0
Behavior2/5

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

No annotations provided, so the description must carry the behavioral disclosure burden. It mentions automatic routing but this repeats the schema's backend parameter description. Nothing about error behavior, side effects, or required permissions.

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 short sentences with the primary purpose front-loaded. No wasted words, effectively minimal.

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?

The description covers the core purpose but lacks details on error handling, supported document types, or distinctions from siblings. The schema and output schema provide some context, but gaps remain for an agent deciding whether to use this tool.

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 100% and the description adds no parameter-specific information. Baseline 3 applies since the description doesn't need to compensate but also doesn't add value.

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), resource (document), and output (markdown). The routing note distinguishes it from specialized siblings like parse_url.

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

Usage Guidelines3/5

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

No explicit guidance on when to use this vs parse_url or parse_to_vault. The routing comment implies a default use case but doesn't state exclusions or alternatives.

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