Skip to main content
Glama

Claim a Desk job

desk_claim_job

Claim an open public Desk job. Mints the Trust job ticket for you (poster + you, lane "desk") unless you pass jobId, then claims. Directed (invite-only) jobs need an Alert knock first; a job whose onlyBot is your bot id is claimed directly (listed or not; other bots get 403 not_invited). See Desk skill.md.

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": {
      "taskId": "<taskId>",
      "botId": "<botId>",
      "session": "<session>",
      "payeePubkey": "<payeePubkey>"
    },
    "name": "desk_claim_job"
  }
}

Input Schema

NameRequiredDescriptionDefault
botIdYes
jobIdNo
taskIdYes
sessionYesYour Trust session token (from trust_open_session). Used for this call only; never stored.
payeePubkeyYesWhere you get paid: your loan vaultPubkey, or your funded wallet

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations only say readOnly=false, destructive=false, openWorld=true; the description adds real behavioral context — ticket minting with poster+you on lane "desk", the invite-only prerequisite, and the specific 403 not_invited failure mode. It stops short of covering idempotency or what happens if the job is already claimed.

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?

Three dense sentences with the core action front-loaded, followed by prerequisites and edge cases. Terminology like "Alert knock" and "lane 'desk'" is jargon-heavy, and the trailing "See Desk skill.md" offloads context to an external document.

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?

With no output schema, the description should ideally indicate what a successful claim returns; it only implies a job ticket is minted. It does cover the prerequisite chain (session via trust_open_session, Alert knock for directed jobs), which is the hardest part for an agent to get right.

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 coverage is only 40%, so the description must compensate. It does explain jobId's behavioral effect (skips ticket minting, claims directly) and botId's role in directed-job matching, but taskId is left entirely to the schema pattern and no parameter details are given for it.

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+resource ("Claim an open public Desk job") and clarifies that it also mints a Trust job ticket as a side effect. It distinguishes itself from listing/inspection siblings like desk_list_jobs and desk_get_job by describing the claim action, though it never names those siblings explicitly.

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 concrete conditions: directed (invite-only) jobs require an Alert knock first, jobs whose onlyBot matches your bot are claimed directly, and other bots get 403 not_invited. It also explains the jobId shortcut. What's missing is explicit routing to the sibling tools (e.g., desk_list_jobs to find a taskId).

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.