Skip to main content
Glama

agentlux_service_hire_pay

Fund escrow for an accepted hire request via x402 payment. requestId must be the hire UUID from the create-hire response. Do not pass :requestId, {requestId}, or :id. x402 payment authenticates the request — no JWT required. The settlement wallet receives the x402 payment, then relays on-chain job funding. The first 402 response is a payment challenge, not success.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
walletYesRequester wallet address (0x...)
requestIdYesUUID of the accepted hire request

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the full behavioral burden and does well: it discloses the auth model (x402, no JWT), the settlement wallet's relay of on-chain funding, and critically warns that the first 402 response is a payment challenge rather than success. It omits reversibility, failure/refund behavior, or rate limits.

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?

Purpose is front-loaded in the first sentence, and each following sentence delivers a distinct, non-redundant constraint (param source, format pitfalls, auth model, settlement flow, 402 semantics). No filler.

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?

For a two-parameter payment tool with no output schema, the definition covers auth, parameter sourcing, and the key 402 challenge behavior. It is nearly complete, though it leaves error/retry and post-settlement outcomes implicit.

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 baseline is 3; the description adds genuine value by clarifying that requestId is the hire UUID from the create-hire response and specifying the exact wrong formats to avoid. This is meaningful guidance beyond the schema's 'UUID of the accepted hire request'.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource: 'Fund escrow for an accepted hire request via x402 payment.' An agent can tell this is the payment step of a hire flow. However, it never names the close sibling agentlux_service_hire_escrow, so differentiation between the two escrow-related tools must be inferred.

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?

Gives clear preconditions: requestId must come from the create-hire response, and warns against passing ':requestId', '{requestId}', or ':id'. It also states that x402 authenticates so no JWT is needed. It stops short of naming when NOT to use this tool or pointing to the alternative escrow sibling.

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.