Skip to main content
Glama

Connect a worker

register_worker

Save the worker URL Hinto wakes when a ticket needs investigating. kind is generic, openclaw, grok_bot, or claude_routine; operatorSecret is the vendor token for kinds whose wake secret the team owns. Returns the worker's secrets once. It acts only with the human's agreement: called without confirm it returns confirmation_required and a summary of what it would do, and called with confirm: true it acts.

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": {
      "endpointUrl": "<endpointUrl>"
    },
    "name": "register_worker"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNo
confirmNo
endpointUrlYes
operatorSecretNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=false, destructiveHint=false and openWorldHint=true; the description adds the important facts that the worker's secrets are returned exactly once and that the call is gated behind an explicit confirmation step. Those are real behavioral disclosures an agent would not get from the annotations. It omits duplicate-registration and failure behavior, which keeps it at 4.

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 action and the enum values, then the return behavior, then the confirmation contract. Every sentence carries information, though the confirm sentence is somewhat convoluted with its repeated 'called without/with' construction.

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 write tool with no output schema and thin annotations, the definition covers the action, the one-time secret return, the parameter meanings, and the confirmation gate. What is missing is what happens on re-registration of an existing worker and whether kind defaults to generic when omitted, which matters given only endpointUrl is required.

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 description coverage is 0%, so the description must carry the load, and it does: endpointUrl is the wake URL, kind is enumerated with all four values, operatorSecret is the vendor token for kinds where the team owns the wake secret, and confirm is tied to the preview/act flow. All four parameters get meaning beyond the bare schema. The edge case of kinds where the team does not own the secret is left unexplained.

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 opening sentence gives a specific verb and resource: save the worker URL that Hinto calls when a ticket needs investigating. That is far more than a restatement of the name. It does not explicitly distinguish itself from nearby siblings such as rotate_worker_secret or disconnect_worker, so it stops short of 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 Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description clearly prescribes the two-step confirmation protocol (omit confirm to preview, pass confirm: true to act), which is genuine invocation guidance. It never says when to choose this over alternatives like rotate_worker_secret, nor what happens if a worker is already registered, so usage context is implied rather than 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