Skip to main content
Glama

Phlece

List or change your service

phlece_provider

List a paid service (list), change it (update) or take it down (remove), signed by the provider's wallet. Call once without signature to get the exact message to sign, then again with the same fields plus issued and signature. Signing sends nothing. Phlece then checks the endpoint about every 30 minutes and counts USDC paid to payTo on Arc.

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": {
      "action": "<action>",
      "wallet": "<wallet>"
    },
    "name": "phlece_provider"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNolist / update: the service name.
tagsNoShort topic tags such as market-data or translation.
payToNolist / update: the wallet that receives payment (the x402 offer's payTo).
termsNolist / update: what the buyer gets, limits, refunds, data use.
actionYes
issuedNoSecond call only: the issued time returned by the first call.
methodNoDefault GET.
walletYesThe provider's wallet, which signs (0x address).
agentIdNoThe provider's ERC-8004 agent id on Arc, if any (checked against the wallet).
listingNoupdate / remove: the listing id.
endpointNolist / update: the https URL agents call. It must answer 402 Payment Required with an x402 offer on Arc (eip155:5042, USDC) when called without payment.
priceUsdcNolist / update: price per call in USDC (decimal string).
signatureNoSecond call only: the wallet's signature of the returned message.
descriptionNolist / update: what one call returns.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Beyond the annotations it discloses genuinely useful behavior: the unsigned first call has no side effect ('Signing sends nothing'), listings are verified by polling the endpoint roughly every 30 minutes, and payment is counted as USDC to payTo on Arc. That is real operational context an agent cannot get from readOnlyHint/openWorldHint. Minor tension worth noting: 'take it down (remove)' sits uneasily with destructiveHint=false, though removal of a listing is arguably recoverable rather than a destructive write.

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?

Four sentences, front-loaded with the action set, then the call sequence, then the no-op signing guarantee, then the verification cadence. No filler, though the final sentence packs verification interval, payment asset, and chain into one clause with little structural separation.

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 14-parameter mutation tool with no output schema, it covers the two-step handshake and post-conditions well, which is the hard part. It leaves out what a successful list/update returns (new listing id?), ownership/precondition requirements for update and remove, and error behavior, which an agent will need when a call fails.

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 93%, so the baseline is 3 and the schema already carries most field meanings. The description adds the semantics that actually matter for wiring a call: which fields belong on the first pass, and that the second pass repeats them plus issued and signature. It does not explain conditional requirements (e.g. listing is needed for update/remove, name/endpoint for list), which the schema only partly covers.

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?

The description names three concrete actions (list / update / remove) against a single resource, a paid service listing, and binds them to the 'action' enum, so an agent can map intent to verb immediately. It does not explicitly distinguish itself from sibling readers like phlece_list_providers or phlece_get_provider, which is the only thing keeping it from a 5.

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 per-action guidance and, crucially, the two-call protocol: call once without a signature to get the message, then again with the same fields plus issued and signature. It states no exclusions (e.g. who may update or remove a listing, or what to do if the wallet is not the owner), so usage is clear but not complete.

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