Skip to main content
Glama
ohneben

ohneben's Wafeq MCP

wafeq_purchase_orders_download_retrieve

Read-onlyIdempotent

Download a purchase order PDF by providing its ID. Returns base64-encoded PDF bytes with size and content type, without modifying any data.

Instructions

๐ŸŸข READ-ONLY ยท returns a PDF ยท Purchase Orders ยท GET /purchase-orders/{id}/download/

Download purchase order PDF

Endpoint for downloading a PDF of the purchase order.

Returns the document as base64-encoded PDF bytes plus its size and content type. Nothing is modified.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv2.0.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, which the description's 'READ-ONLY' and 'Nothing is modified' reinforce without contradicting. The description adds genuinely useful behavior beyond annotations by disclosing the return payload: base64-encoded PDF bytes plus size and content type โ€” valuable since there is no output schema.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The leading summary line is well-structured and front-loaded, but the description is redundant: 'Download purchase order PDF' appears both in the header and in the body, and 'Endpoint for downloading a PDF of the purchase order' is a third restatement of the same idea. The final sentence about base64 PDF bytes is the only non-repetitive content and earns its place.

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?

For a simple one-parameter read-only download tool, the definition is nearly complete: safety traits are covered by annotations, the response format is described (base64 PDF bytes, size, content type), and the endpoint clarifies the operation. Minor gaps remain โ€” the provenance of 'id' is only implied, and error behavior (e.g., nonexistent purchase order) is not mentioned.

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 0% โ€” the schema only shows 'id' as a required string with no explanation. The description's endpoint template '/purchase-orders/{id}/download/' partially compensates by implying that 'id' is the purchase order identifier. However, it doesn't state where to obtain valid IDs (e.g., from the list/retrieve endpoints) or any format expectations. The tool only has one simple parameter, so the gap is limited in impact.

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 states a specific verb and resource: 'Download purchase order PDF' and 'Endpoint for downloading a PDF of the purchase order.' The HTTP endpoint 'GET /purchase-orders/{id}/download/' further pins down the operation. Among the many download_retrieve siblings (invoices, bills, payslips, quotes, etc.), this one is unambiguously differentiated by the resource name 'purchase orders'.

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?

Usage context is implied rather than explicit: the '๐ŸŸข READ-ONLY ยท returns a PDF' header signals that this tool is for PDF retrieval rather than JSON retrieval, which distinguishes it from wafeq_purchase_orders_retrieve. However, no alternative tools are named, and there is no explicit when-to-use versus when-not-to-use guidance.

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/ohneben/Wafeq-MCP'

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