Skip to main content
Glama
x380kkm

harness-manager

by x380kkm

context_apply

Apply a saved plan from context preview to implement changes, and reject the entire commit when any baseline changes.

Instructions

保存 context_preview 或 context_preview_remove 返回的计划, 任一基线变化时整组提交拒绝.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
planYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

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

The description discloses a key behavioral trait: if any baseline changes, the entire group commit is rejected, which warns the agent about a potential failure mode. However, it does not specify side effects, whether the operation is destructive, or what a successful commit entails. With annotations limited to openWorldHint=false, the description carries the burden but only partially.

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

Conciseness5/5

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

One concise sentence that front-loads the action and then adds the critical rejection condition. No filler words; every clause adds information.

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

Completeness3/5

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

The description explains the input source and a key failure condition, and an output schema exists to cover return values. But for a mutating apply-style tool with minimal annotations, it lacks detail on what changes are actually made, whether they are reversible, and what the agent should do if the commit is rejected (e.g., re-run preview). This leaves the tool usable but not fully self-contained.

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?

The single 'plan' parameter has no description in the schema and additionalProperties is true, so the schema conveys almost nothing about its structure. The description compensates by telling the agent exactly where the plan comes from: the return value of context_preview or context_preview_remove. This gives meaning to the parameter that the schema lacks.

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 action ('保存' = save/commit) on a specific resource (the plan returned by context_preview or context_preview_remove), and the rejection condition further clarifies its role. It is clear enough to distinguish from sibling apply tools like module_apply or host_apply, though '保存' is slightly ambiguous versus the tool name 'apply'.

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?

The description explicitly names context_preview and context_preview_remove as the sources of the plan, telling an agent this tool should be invoked after those preview tools produce a plan. It does not explicitly list exclusions or alternatives, but the workflow is clear from the source references.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/x380kkm/harness-manager'

If you have feedback or need assistance with the MCP directory API, please join our Discord server