Skip to main content
Glama

cbr__RegisterAgent

Registers a CBR client agent automatically during installation, binding host and agent details to a project so backup services can manage the host without manual registration.

Instructions

[CBR] 注册客户端,安装时候由Agent调用,无需手动注册。

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": {
      "agent": "<agent>",
      "project_id": "<project_id>"
    },
    "name": "cbr__RegisterAgent"
  }
}

Input Schema

NameRequiredDescriptionDefault
agentYes客户端注册参数
project_idYes项目ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.3/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, yet it says nothing about idempotency, what happens if the same agent_id is registered twice, permission/auth requirements, or what the call returns. For a write/registration operation with zero annotation coverage, this is a substantial gap.

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?

A single short sentence with the service tag and purpose front-loaded and no filler. It is efficient, though its brevity is also the source of the missing behavioral detail.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool takes a required nested object, performs a state-changing registration, has no annotations and no output schema, and the description never addresses return values, duplicate handling, or prerequisites. Given that complexity, one sentence is not enough to let an agent call it confidently.

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 every nested field of the 'agent' object (agent_id, host_ip, host_name, host_os, agent_type, agent_version, host_nickname) is documented in the schema itself. The description adds no additional meaning about how these fields are used, so the baseline 3 applies.

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 states a specific verb+resource in Chinese ('注册客户端' = register client) prefixed with the [CBR] service tag, so an agent can tell it creates an agent registration rather than updating or removing one. It stops short of naming or contrasting with siblings such as cbr__UpdateAgent or cbr__UnregisterAgent.

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?

'安装时候由Agent调用,无需手动注册' gives clear context: this is invoked by the agent during installation and manual invocation is not expected. That functions as both a when-to-use and an implicit when-not-to-use signal, though no alternative tool is named for the manual/explicit case.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools