Skip to main content
Glama

hekte_job

One job's lines from this door's BUYER LEDGER (posted, offers, funding, delivery, settlement — ids, sats, times, codes; never the brief or the output), for a job YOUR payment ran: job_id must be the one hekte_ask returned for this payment_hash + retry_token. found: false = no line names it.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
job_idYesThe job id `hekte_ask` returned.
contractNoThe hosted contract number this client speaks — every result of this door names it as `contract` and `retry_with` repeats it (today 2). Omit it if unknown; an older number is refused `contract_mismatch` because its retry shape is not this door's.
retry_tokenYesThe `retry_token` of the `hekte_ask` that ran this job.
payment_hashYesThe `payment_hash` of the `hekte_ask` that ran this job.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries disclosure responsibility and does a solid job: it states the data scope, explicitly excludes the brief and output, requires caller's own payment, and defines `found:false`. It does not describe all error and edge behavior, hence not 5.

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

Conciseness4/5

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

The description is dense and all content is relevant, but it is a single long sentence with several parenthetical interruptions, making it slightly harder to scan than a more structured two-sentence version.

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 no output schema, it communicates the broad response content (ledger line categories and `found:false`) and the required inputs. It leaves the exact response shape and error handling implicit, but the main invocation path is adequately described.

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 100%, so the baseline is satisfied; the description adds the correlation invariant among `job_id`, `payment_hash`, and `retry_token`, and the not-found convention, going beyond simply restating 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 names a specific resource ('this door's BUYER LEDGER') and a precise outcome ('One job's lines'), enumerates what those lines contain, and ties the job to a prior `hekte_ask` result so it cannot be confused with `hekte_ask` or `hekte_balance`.

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?

It clearly states the precondition that the caller must have paid for the job and that `job_id` must come from `hekte_ask` for the same `payment_hash` + `retry_token`. It does not explicitly name an alternative for other needs, so it stops short of a full 5.

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