Skip to content

Consolidate the Evo MCP toolset for version 2 - #9

Merged
Seiger merged 2 commits into
evolution-cms:mainfrom
MiddleSokilAI:sokil/emcp-14-tool-contract
Nov 18, 2026
Merged

Seiger merged 2 commits into
evolution-cms:mainfrom
MiddleSokilAI:sokil/emcp-14-tool-contract

Conversation

@MiddleSokilAI

@MiddleSokilAI MiddleSokilAI commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

Release dependency

DocumentManager 1.1.0 has shipped and is available on Packagist. It includes the new editPatch() API from DocumentManager PR #4 and satisfies this PR's Composer requirement. The initial CI attempt ran before the release; the workflow triggered by the migration documentation update verifies the published dependency.

Problem

Overlapping content navigation tools are hard to distinguish, and several advertised schemas omit arguments that PHP accepts. A missing anchor can also leave the sibling query without a parent filter.

Changes

  • Expose 14 Evo tools in Toolset 2.0. Consolidate downward traversal into evo.content.tree and sibling selection into evo.content.siblings. Keep the ancestor path as a separate tool.
  • Publish the supported input arguments and structured output schemas. Return an empty result for missing, deleted, or inaccessible navigation anchors.
  • Use the transactional DocumentManager API for document and TV updates. Reject the whole request when it changes publication state or dates without publish_document.

Migration

TOOLSET.md maps the old calls. In particular, tree counts from the virtual root, and siblings uses (menuindex, id) to find the nearest visible neighbors across gaps and ties.

Verification

composer run test passed. On Evolution CMS 3.5.9, PHP 8.4, and SQLite, HTTP tests verified discovery and a schema-valid response for all 14 tools, call migration, unavailable anchors, publication permissions, and rollback after a failure on the second TV. The local runtime used Composer path repositories for both branches. A new Glama assessment is pending publication.

@Seiger
Seiger merged commit ec6b95a into evolution-cms:main Nov 18, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants