Skip to main content
Glama

cbr__AddAgentPath

Adds backup and exclusion paths to a CBR client, letting you define what to protect without validating path existence.

Instructions

[CBR] 对客户端新增备份路径,新增的路径不会校验是否存在。

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": {
      "add_path": "<add_path>",
      "agent_id": "<agent_id>",
      "project_id": "<project_id>"
    },
    "name": "cbr__AddAgentPath"
  }
}

Input Schema

NameRequiredDescriptionDefault
add_pathYes增加备份路径详情
agent_idYes客户端ID
project_idYes项目ID
exclude_pathNo增加排除目录

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full behavioral burden. It does disclose one genuinely useful trait beyond the schema – added paths are not checked for existence, so invalid paths will be accepted silently – but says nothing about duplicate handling, required permissions, mutation side effects, or what the call returns.

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 compact sentence with no filler, and the key caveat about non-validation is front-loaded right after the purpose. There is nothing to trim, though the brevity leaves substantive gaps that another sentence could have closed.

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?

This is a mutation tool with no annotations and no output schema, so the description must explain the write semantics and does not. It omits what happens on duplicate paths, whether the operation is atomic across the add_path array, and what the response contains – significant gaps for a four-parameter mutating tool.

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%, so every parameter is already documented in the input schema, including the regex pattern for path format. The description adds no additional meaning about add_path, exclude_path, agent_id, or project_id, so the baseline of 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 gives a specific verb and resource combination ('新增备份路径' – add a backup path) scoped to a client/agent, which clearly distinguishes it from the sibling cbr__RemoveAgentPath. It does not explicitly name an alternative, so it stops just 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 Guidelines2/5

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

There is no guidance on when to use this tool versus RemoveAgentPath or UpdateAgent, and no statement of preconditions such as whether the agent must be online or registered. The only usage-relevant note is that new paths are not validated, which is a caveat rather than a use criterion.

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