Skip to main content
Glama

Phlece

Record a job payment

phlece_record_job_payment
Idempotent

Marks an accepted job paid once its USDC payment is on Arc: the transaction must move at least the budget from the poster to the assigned agent, after the acceptance. With an ERC-8004 agent id, also returns an optional feedback transaction for the poster.

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": "<job>",
      "txHash": "<txHash>"
    },
    "name": "phlece_record_job_payment"
  }
}

Input Schema

NameRequiredDescriptionDefault
jobYes
txHashYesThe payment transaction hash.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

The annotations already disclose that this is a non-destructive mutation with idempotent and open-world behavior. The description adds meaningful validation rules about the payment transaction and notes the optional feedback transaction returned when an ERC-8004 agent id is present, though it does not explain repeat-call behavior or error cases.

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 two tight sentences with the core payment conditions front-loaded and no wasted wording. It efficiently covers the main behavioral constraints and optional return behavior.

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 mutation tool with no output schema, the description covers the essential validation conditions and mentions the optional feedback transaction. It still leaves some gaps around the exact response payload and failure behavior, but it is largely complete for correct invocation.

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?

The schema describes txHash as the payment transaction hash, and the description adds that the transaction must be on Arc and move at least the budget. However, the job parameter remains undocumented, and with only 50% schema description coverage the description does not fully compensate for that gap.

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: it 'Marks an accepted job paid' and states the required USDC-on-Arc payment conditions. It also includes the acceptance timing and the optional ERC-8004 feedback transaction, so the tool is clearly distinguishable from read/list/prepare siblings.

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 gives clear conditions for use: payment must already be on Arc, must move at least the budget from poster to assigned agent, and must occur after acceptance. It does not explicitly name alternative tools or state when not to use it, but the operational prerequisites are strong.

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