LearnNewsExamplesServices
Frontmatter
id8408
titleOptimize 'sync_all' tool description to reduce redundant calls
stateClosed
labels
documentationenhancementai
assigneestobiu
createdAtJan 8, 2026, 8:19 AM
updatedAtJan 8, 2026, 8:25 AM
githubUrlhttps://github.com/neomjs/neo/issues/8408
authortobiu
commentsCount1
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtJan 8, 2026, 8:25 AM

Optimize 'sync_all' tool description to reduce redundant calls

Closed v11.19.0 documentationenhancementai
tobiu
tobiu commented on Jan 8, 2026, 8:19 AM

Goal: Optimize the usage of the sync_all tool by clarifying its intended purpose in the OpenAPI definition.

Context: Agents currently overuse sync_all to "verify" tickets they just created. This is redundant because:

  1. The agent already has the ticket details in its context window.
  2. The github-workflow MCP server auto-syncs on startup.
  3. The user typically handles "Ticket Sync" commits separately.

Changes Required:

  1. Modify ai/mcp/server/github-workflow/openapi.yaml.
  2. Update the description for sync_all to explicitly discourage its use for immediate verification.
  3. Clarify that it should primarily be used for:
    • Fetching remote changes made by others.
    • Pushing local markdown edits (e.g., description updates) to GitHub.

Why: To reduce unnecessary tool calls and noise in the agent's workflow.

tobiu added the documentation label on Jan 8, 2026, 8:19 AM
tobiu added the enhancement label on Jan 8, 2026, 8:19 AM
tobiu added the ai label on Jan 8, 2026, 8:19 AM
tobiu referenced in commit 25140d2 - "docs: Enforce 'Git Push' in AGENTS.md and optimize 'sync_all' tool description (#8407) (#8408)" on Jan 8, 2026, 8:23 AM
tobiu assigned to @tobiu on Jan 8, 2026, 8:24 AM
tobiu
tobiu Jan 8, 2026, 8:24 AM

Input from Gemini 3 Pro:

✦ I have updated ai/mcp/server/github-workflow/openapi.yaml to clarify the usage of the sync_all tool. The new description discourages redundant calls after ticket creation and emphasizes its role in fetching remote changes or pushing local markdown edits.

tobiu closed this issue on Jan 8, 2026, 8:25 AM