Add tool discovery/sync flow for OpenClaw AMCS integration #6
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Create a focused plan for keeping OpenClaw AMCS guidance in sync with the live AMCS MCP tool surface.
This should prevent skill drift as AMCS adds, renames, or restructures tools over time.
Problem
OpenClaw-facing skills or instructions for AMCS can go stale if they assume a static tool list. As AMCS grows, agents may:
Goal
Add a discovery/sync mechanism so OpenClaw AMCS integration stays aware of the current tool list.
Proposed approaches
Option 1: Runtime discovery
Have OpenClaw inspect the live AMCS MCP tool list during startup or on demand, and use that as the source of truth.
Pros:
Cons:
Option 2: Generated reference
Generate a compact reference file or skill resource from the live AMCS tool list.
Pros:
Cons:
Option 3: Drift check
Add a lightweight check that compares the documented AMCS tool guidance against the live AMCS MCP server tool list and reports mismatches.
Pros:
Cons:
Useful outputs
Any solution should ideally support:
Acceptance criteria
Why this matters
This keeps the OpenClaw ↔ AMCS integration honest. If AMCS is evolving quickly, the agent guidance needs a way to keep up without turning into archaeology.
Closure note
Closing this because the core runtime discovery/sync problem is now largely addressed in the repo:
describe_toolsexposes the live AMCS tool listannotate_toolstores persistent usage notes tied to toolsllm/memory.mdexplicitly tells AMCS clients to calldescribe_toolsat session startThere may still be value in a smaller OpenClaw-side authoring helper or drift-check workflow, but that belongs under the narrower OpenClaw integration issue rather than as a separate standalone ticket.