Skip to main content
Glama
zongyuan-root-sync

zongyuan-root-sync

by tanbopiao

push_diff

Computes kernel-level differences between local and remote roots, then pushes only changed root-repository diffs with source-version provenance for traceable sync and grounded rollbacks.

Instructions

计算内核差量

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": {
      "local": "<local>",
      "remote": "<remote>"
    },
    "name": "push_diff"
  }
}

Input Schema

NameRequiredDescriptionDefault
localYes
remoteYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

D1.5/5.0
Behavior1/5

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

No annotations are provided, so the description carries the full burden. It discloses nothing about side effects, whether anything is mutated or pushed remotely (the name implies an outward action), permissions, or failure modes — a single opaque phrase for a two-object-parameter operation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is brief, but brevity here is under-specification rather than economy: four characters convey no actionable information, and there is no structure, scope, or lead-in context to front-load.

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

Completeness1/5

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

For a tool taking two required nested objects with no output schema, no annotations, and no parameter documentation, the description must supply all the missing context — and it supplies none. An agent would have to guess at both inputs and behavior.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0% and both required parameters (`local`, `remote`) are untyped nested objects with no descriptions. The description adds zero meaning about what these objects should contain, how they relate, or what shape the diff expects.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

"计算内核差量" restates the tool name in different terms: the name says push_diff (a push), the description says "compute kernel delta." Neither the resource (what a "kernel" is here) nor the relationship between computing and pushing is explained, so an agent cannot confidently tell what the tool actually does.

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?

No when-to-use guidance, no prerequisites, no mention of alternatives or exclusions. With no sibling tools listed there is nothing to differentiate against, but the description also gives no situational trigger for invoking it.

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