Skip to main content
Glama

Check payment status

hip_get_checkout_status
Idempotent

Whether the person has paid at the checkout link yet. Use it after hip_create_checkout, while waiting for payment; once paid is true, use hip_get_order for printing, shipping and tracking. Payment truth comes from the order record Stripe's webhook creates, never from a browser redirect. Returns paid, state and order_status, plus order_id once paid.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "job_handle": "<job_handle>"
    },
    "name": "hip_get_checkout_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
job_handleYesthe job_handle that hip_create_job returned (job_ followed by 32 hex characters). Only the API key that created the job can use it.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / job_handle / description
      Added value: +"the job_handle that hip_create_job returned (job_ followed by 32 hex characters). Only the API key that created the job can use it."
    • addedInput schema / properties / job_handle / examples
      Added value: +[
      +  "job_0123456789abcdef0123456789abcdef"
      +]
    • addedInput schema / properties / job_handle / pattern
      Added value: +"^job_[0-9a-f]{32}$"
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "type": "object"
      +}
  2. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Beyond the annotations, the description discloses the source of truth (the order record created by Stripe's webhook, never a browser redirect), which is exactly the kind of caveat an agent needs to interpret a stale or false result, and it names the returned fields. It does not explain side effects or why the tool is not marked read-only despite behaving as a status read, so a small gap remains.

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 tight sentences, front-loaded with the purpose and immediately followed by the sequencing guidance. Every clause carries information: purpose, timing, hand-off, source of truth, and return fields.

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 polling tool with an output schema, the description covers everything an agent needs: when to call, when to stop, where payment truth comes from, and what comes back. The return-value detail is a bonus given the output schema already exists.

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 single job_handle parameter is fully documented with format and the API-key ownership restriction, so the schema does the heavy lifting. The description adds no meaning about job_handle beyond what the schema states, which is the expected baseline here.

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 opens with a specific verb and resource: reporting whether the person has paid at the checkout link. It also distinguishes this polling check from hip_get_order, which is where printing, shipping and tracking live once paid is true, so an agent can separate the two without opening any schema.

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?

Sequencing is explicit: call it after hip_create_checkout, keep calling while waiting for payment, then switch to hip_get_order once paid is true. Both the when-to-use and the hand-off condition are stated, leaving nothing to inference.

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.

Resources