Skip to main content
Glama
hydrojwh
by hydrojwh

wait_and_download

Poll conversion status until completed or failed, then download the markdown file to a specified directory.

Instructions

Poll get_status until completed/failed/cancelled, then download markdown if available.

Args: timeout_sec: Max seconds to wait (OCR can take many minutes). poll_interval_sec: Sleep between polls (default 3). output_dir: Where to write the .md file. source_path: Optional original file path (used only for output filename).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
output_dirNopromptready-out
source_pathNo
timeout_secNo
poll_interval_secNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

No annotations provided, so description bears full weight. It discloses polling behavior, timeout, defaults, and output format. It could be more explicit about the outcome on 'failed' or 'cancelled' states, but 'if available' covers it.

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?

The description is concise with a clear action statement followed by a structured Args list. Every sentence adds value, and the key action is front-loaded.

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?

Given the presence of an output schema, the description adequately covers polling, timeout, download. It could mention error handling or edge cases, but is sufficient for typical use.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, but the description includes an Args section that explains each parameter's purpose and default. This adds significant meaning beyond the schema names.

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?

The description clearly states the tool polls get_status until a terminal state and then downloads markdown. The verb 'poll' and 'download' with resource 'status' and 'markdown' make the purpose explicit, differentiating it from siblings like get_status or convert_pdf.

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?

The description implies use after a conversion by mentioning OCR and polling. It provides timeout guidance. However, it does not explicitly state when not to use this tool (e.g., for simple status checks use get_status).

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/hydrojwh/promptready-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server