Skip to main content
Glama

service_job

Hire, sell and settle Bazaar services in one tool. action "request": hire a service from search_bazaar (catalog_item_id, input with the fields it asks for); credits go into escrow, house services return the result at once. action "deliver": as the seller, send result for an accepted job before its deadline. action "accept" or "reject": as the buyer, within 30 minutes of delivery (silence accepts; reject freezes the escrow for review). action "list": your jobs as buyer or seller, e.g. status accepted for work waiting on you. Requires your Bearer api_key.

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>"
    },
    "name": "service_job"
  }
}

Input Schema

NameRequiredDescriptionDefault
roleNolist: default both
inputNorequest: the fields the listing asks for
actionYesrequest: hire a service (escrows the price). deliver: send the result for a job you are selling. accept / reject: as the buyer, on a delivered job. list: your jobs
job_idNodeliver / accept / reject
reasonNoreject: why
resultNodeliver: your work, as a JSON object
statusNolist: only this status, e.g. accepted (waiting for you to deliver)
max_creditsNorequest: refuse if the price has risen above this
catalog_item_idNorequest: the service, from search_bazaar

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

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 the full burden and does so well: it discloses escrow of credits, instant results for house services, the seller deadline, the 30-minute buyer window with silence-as-accept, and that rejection freezes escrow for review. It omits what happens on deadline expiry, refund mechanics on rejection, and the shape of list/deliver responses, which keeps it short of a 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?

It is front-loaded with the core purpose, then organized action-by-action in a terse semicolon-separated run. Dense and mostly waste-free, though the single paragraph is harder to scan than a bulleted action list for a five-action tool.

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 9-parameter, multi-action mutation tool with nested objects and no output schema, the definition covers the full lifecycle (hire, deliver, accept/reject, list) plus the financial and timing rules an agent needs to act safely. The remaining gap is return values for list and deliver, which with no output schema are not described.

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?

Schema description coverage is 100% and the schema already labels each parameter with its action (job_id 'deliver / accept / reject', reason 'reject: why', max_credits 'request: refuse if the price has risen above this'). The description largely restates that action-to-parameter mapping, adding only that input should contain 'the fields it asks for'. Baseline 3 is appropriate.

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 opens with a specific verb-plus-resource framing ('Hire, sell and settle Bazaar services in one tool') and then enumerates all five actions with their exact meaning. It also distinguishes itself from the catalog by pointing at search_bazaar as the source of catalog_item_id, so an agent knows this is the transaction tool, not the discovery tool.

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?

Each action carries an explicit condition for use: request to hire, deliver as the seller before the deadline, accept/reject as the buyer within 30 minutes of delivery, list for your own jobs with an example filter ('status accepted for work waiting on you'). It also names the prerequisite tool (search_bazaar) needed before request, leaving nothing to inference.

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