Skip to main content
Glama

Quest: Hire a Human

Hire a human from their offer (get a payment link)

hireHuman
Idempotent

Starts hiring the human behind one offer on a quest you posted - take the proposalID from getQuestOffers. Hiring needs a payment, which you cannot make: this returns a secure Stripe payment link (paymentURL) for the person you act for. Give them the link and the amountDue, and let them pay it themselves - never open, fill in or pay it for them. Nothing happens until they pay: then the money is held by Quest (not paid to the human until the work is done), and the human is asked to confirm within confirmWithinMinutes. If the human declines or does not confirm in time, or the hire can no longer happen when the payment arrives (quest closed, slots full, offer withdrawn or changed), the payment is released back automatically. The link lasts about a day. Calling again for the same offer returns the same live link (reused: true) rather than making a second one. Follow progress with getHireStatus. Only the quest's poster can hire; the quest must be open and have a slot free. Returns { hireID, status: awaiting-payment, paymentURL, linkExpiresAt, amountDue: { offerPrice, connectionFee, processingFee, total, currency }, confirmWithinMinutes, human: { name }, questTitle, reused }. Amounts are in whole currency units, as in getQuestOffers.

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": {
      "proposalID": "<proposalID>"
    },
    "name": "hireHuman"
  }
}

Input Schema

NameRequiredDescriptionDefault
proposalIDYesThe offer's ID, from getQuestOffers.
confirmWithinMinutesNoHow long the human has to confirm once the payment is made, in minutes - one of 15, 30, 60 (1 hour), 180 (3 hours), 300 (5 hours), 720 (12 hours) or 1440 (24 hours). Default 1440 (24 hours). Ignored when an existing link is returned.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only say non-read-only, idempotent, open-world and non-destructive; the description goes far beyond them by explaining the escrow model (money held by Quest, not paid until work is done), automatic refund paths (decline, timeout, slot full, offer withdrawn), link lifetime, the 'reused: true' idempotency semantics, and the hard constraint that the agent must not open or pay the link itself. That is exactly the behavioral context an agent needs for a payment-initiating action.

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?

Effectively front-loaded: the action, the source of the ID, and the crucial 'you can't pay this yourself' constraint come first, with state-machine and return-shape details after. It is a dense block of prose with several clauses chained by semicolons, so it is not maximally scannable, but nearly every sentence carries decision-relevant information.

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?

With no output schema, the description enumerates the returned fields (hireID, status, paymentURL, linkExpiresAt, amountDue breakdown, confirmWithinMinutes, human name, questTitle, reused) and explains the failure/refund branches. Nothing an agent needs to call it, hand off the link, or interpret the result is missing.

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% and the schema already documents proposalID as coming from getQuestOffers, the enum-like allowed values of confirmWithinMinutes, the 1440 default and that it is ignored on reuse, so the description adds only marginal meaning. It does reinforce the link between proposalID and the offer listing and flags the currency-unit convention for the returned amounts, which is small but real added context.

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?

States a specific verb and resource ('Starts hiring the human behind one offer on a quest you posted') and immediately anchors it to the sibling that supplies the ID (getQuestOffers) and the one that tracks progress (getHireStatus). An agent can distinguish hireHuman from the read-only offer/quest tools 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?

Gives explicit preconditions ('Only the quest's poster can hire; the quest must be open and have a slot free') and a clear alternative for follow-up ('Follow progress with getHireStatus'). It also states the re-call behavior so the agent knows a repeat call is harmless rather than an error.

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