Skip to main content
Glama
HPT-SU

hptsu MCP server

Official
by HPT-SU

download_document_file

Get a signed URL to download a vehicle compliance document PDF from hpt.su. Requires active subscription and authenticated user session.

Instructions

Issue a signed URL to download the document PDF from hpt.su.

Returns {download_url, file_name, kind, document_id}. The URL is encrypted with the user_id behind the API key — opening it works only if the user is signed in to hpt.su under the same account. The dl_counter is decremented on the website at actual download time, not here.

Requires an active subscription covering the document's kind or a stand-alone DOC_PURCHASE. On the free tier returns 403 with an upgrade prompt to https://hpt.su/pricing/.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_uidYesDocumentFile UID (from list_document_files).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

With no annotations, the description carries full burden. It discloses return format, user-binding of URL, subscription requirements, free-tier behavior (403 with upgrade prompt), and that dl_counter decrements at download time, providing excellent transparency.

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?

Three sentences, front-loaded with purpose, no redundant information. Every sentence adds value.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a single-parameter tool with output schema, the description covers behavior, auth, subscription, and error handling comprehensively.

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 schema already describes file_uid. The description adds context about the return value but does not enhance parameter semantics beyond the schema.

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 starts with 'Issue a signed URL to download the document PDF from hpt.su,' which is a specific verb-resource pair. It clearly distinguishes from sibling tools like list_document_files (which lists files) by focusing on download functionality.

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 provides context on when to use the tool (to download a PDF) and mentions subscription requirements, but does not explicitly state when not to use it or compare to alternatives, leaving implicit 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/HPT-SU/hptsu-mcp'

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