Skip to content

mcpflow prompt adjustment #17

Merged
gary149 merged 2 commits intomainfrom
claude/reduce-tool-calls-c0lVc
Jan 19, 2026
Merged

mcpflow prompt adjustment #17
gary149 merged 2 commits intomainfrom
claude/reduce-tool-calls-c0lVc

Conversation

@gary149
Copy link
Copy Markdown
Owner

@gary149 gary149 commented Jan 19, 2026

No description provided.

Add explicit guidance to the system prompt that instructs the model to:
- Prefer direct answers over tool calls for simple tasks
- Only use tools when genuinely needed
- Stop making additional calls when enough info is gathered
- Categorize tools (generative vs search) with specific usage rules

This addresses the issue where models would make excessive tool calls
for simple requests like spelling checks or prompt edits.
Replace complex categorization logic with a single clear instruction:
"Only use a tool if you cannot answer without it."

This follows Anthropic's recommended approach of using simple, direct
instructions rather than elaborate rule systems.
@gary149 gary149 merged commit 66be02c into main Jan 19, 2026
3 of 5 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