Skip to main content
Glama

Have It Printed

hip_prepare_payment

Resolve the EXACT amount HIP will charge, before any payment authorization is obtained or spent. This does NOT charge anything. Returns subtotal_cents, tax_cents, total_cents, currency, a pricing fingerprint and the authorization types HIP accepts. Tax is calculated by Stripe from the destination, so hip_quote alone is not the payable amount. The returned total is bound to this job's documents, options and recipient: change any of them and payment is refused with QUOTE_STALE until you prepare again. Use this when paying autonomously with a delegated payment authorization; a human paying in a browser does not need it. Commits the job to the autonomous payment rail.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
job_handleYes

Schema Changelog

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

  1. First observed

TDQS

A4.9/5.0
Behavior5/5

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

With no annotations provided, the description fully carries the behavioral disclosure burden. It explicitly says this does NOT charge anything, returns a pricing fingerprint, commits the job to the autonomous payment rail, and can refuse payment with QUOTE_STALE if inputs change. These are meaningful side-effect and staleness disclosures.

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 dense but every sentence earns its place: the no-charge guarantee, return fields, tax caveat, staleness binding, and usage context are all actionable. It is front-loaded with the most critical fact that this call does not charge anything.

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?

Even without an output schema or annotations, the description covers the return values, the no-op on charging, the side effect of committing to the autonomous payment rail, the staleness condition, and the target audience. An agent has enough context to select and invoke this tool correctly and understand the consequences.

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?

The schema only provides a bare job_handle string with 0% description coverage, but the description compensates reasonably by tying the returned total to 'this job's documents, options and recipient,' making it clear that job_handle references the job being prepared for payment. It also clarifies that the job's current state is what determines the amount.

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 uses a specific verb and resource: 'Resolve the EXACT amount HIP will charge' before any payment authorization is obtained or spent. It clearly distinguishes itself from hip_quote by stating hip_quote alone is not the payable amount, and from the human-browser checkout flow.

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

Usage Guidelines5/5

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

It explicitly states when to use the tool: 'Use this when paying autonomously with a delegated payment authorization; a human paying in a browser does not need it.' It also warns that changing job documents, options, or recipient makes the quote stale and requires calling prepare again.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

TDQS

A3.8/5.0
Disambiguation4/5

Most tools are clearly distinct by resource and action, such as create_job vs update_job or complete_payment vs create_checkout. However, hip_quote and hip_prepare_payment both return pricing information and could be confused at first glance; the descriptions do clarify their different purposes, but an explicit warning is needed to keep them apart.

Naming Consistency5/5

All tools follow the same hip_ prefix with verb_noun snake_case naming, such as hip_create_job, hip_get_order, and hip_complete_payment. This makes the toolset predictable and easy to navigate.

Tool Count5/5

Ten tools is well-scoped for a print-and-mail service. Each tool covers a necessary part of the workflow—job creation, document upload, quoting, payment, and order tracking—without unnecessary duplication or bloat.

Completeness4/5

The core lifecycle is well covered: create and update a job, upload documents, quote, pay via autonomous or checkout flows, check payment status, and retrieve order tracking. Minor gaps exist, such as no explicit cancel/delete job or a pre-payment job status retrieval tool, but agents can likely work around these.

Resources