Skip to main content
Glama
Kirachon

Context Engine MCP Server

by Kirachon

Refine Plan

refine_plan

Refine an existing implementation plan by incorporating feedback, clarifications, or focusing on specific steps for adjustment.

Instructions

Refine an existing implementation plan based on feedback or clarifications.

Use this tool to iterate on a plan after reviewing it or answering clarifying questions.

When to use this tool:

  • After reviewing a plan and wanting adjustments

  • To answer questions the plan raised

  • To add more detail to specific steps

  • To change the approach based on new information

Input:

  • The current plan (JSON from a previous create_plan call)

  • Your feedback or clarifications

  • Optionally, specific steps to focus on

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
feedbackNoYour feedback on the current plan - what to change, add, or remove
focus_stepsNoSpecific step numbers to focus refinement on
current_planYesThe current plan as a JSON string (from the Full Plan JSON output of create_plan)
clarificationsNoAnswers to clarifying questions as JSON object (e.g., {"question1": "answer1"})
Behavior3/5

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

Annotations are minimal (only title), so the description must disclose behavioral traits. It mentions inputs and purpose but does not specify whether the tool mutates the plan or returns a new one, nor any side effects or safety concerns.

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?

The description is well-organized with a brief definition, a 'When to use' list, and an 'Input' list. Every sentence is substantive and front-loaded.

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?

Given no output schema, the description should explain what the tool returns. It does not mention return value or behavior when refinement succeeds or fails. The tool also assumes a pre-existing plan but doesn't explicitly state prerequisites.

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 the baseline is 3. The description adds some context (e.g., 'JSON from previous create_plan call') but largely mirrors the schema.

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

Purpose5/5

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

The description explicitly states the tool refines an implementation plan based on feedback or clarifications. It provides specific use cases, distinguishing it from other plan tools like delete_plan or load_plan.

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 tool clearly enumerates when to use it (after reviewing, to answer questions, add detail, change approach). It doesn't explicitly say when not to use it, but the context is sufficient for an AI agent.

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

Install Server

Other Tools

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/Kirachon/context-engine'

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