Skip to main content
Glama
takltc

markdown-new-mcp

by takltc

convert_url_to_json

Read-only

Convert a remote file URL into structured JSON with metadata like title, tokens, and duration. Handles PDF, DOCX, XLSX, images, and 20+ formats.

Instructions

Convert a remote file URL to structured JSON, including metadata such as title, tokens, and duration. Supports PDF, DOCX, XLSX, images, and 20+ formats.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesHTTP or HTTPS URL of the remote file to convert into a structured JSON response.
api_keyNoOptional markdown.new API key. Leave empty to use MARKDOWN_NEW_API_KEY from the server environment.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.4

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile of a network read is covered. The description adds genuine context by listing supported formats (PDF, DOCX, XLSX, images, 20+), but it omits handling of failures (bad URL, unsupported format, large file) or rate/size limits.

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 tight sentences: the operation and its output shape lead, with the format-support detail following. No filler or redundancy.

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 no output schema, the description carries the return-value burden and does so partially by naming title, tokens, and duration as included fields. A read-only, two-parameter tool needs little more; only error behavior and limits are 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% – both url and api_key are fully documented inline, including the environment-variable fallback. The description adds nothing 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.

Purpose4/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 remote file URL to structured JSON) and enumerates supported input formats, so the agent knows exactly what operation this is. It does not, however, distinguish itself from the siblings convert_url_to_markdown and convert_file_to_markdown, which share nearly identical framing.

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 explicit when-to-use guidance or reference to the sibling tools. The agent must infer from the output noun ('JSON') that this is the structured-data variant rather than the markdown variant, which is a reasonable but unstated inference.

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