Audit Agent Tool Definitions to Fix Routing Errors
This prompt analyzes your AI agent tool descriptions to eliminate overlap, define clear boundaries, and prevent incorrect tool routing by adding explicit anti-use guidance.
Agent prompt for Claude and ChatGPT
Prompt
mkdir -p .agents/skills/audit-agent-tool-definitions-to-fix-routing-errors && curl -sL "https://prompts-gpt.com/prompts/audit-agent-tool-definitions-to-fix-routing-errors/raw" -o .agents/skills/audit-agent-tool-definitions-to-fix-routing-errors/SKILL.md---
name: audit-agent-tool-definitions-to-fix-routing-errors
description: "This prompt analyzes your AI agent tool descriptions to eliminate overlap, define clear boundaries, and prevent incorrect tool routing by adding explicit anti-use guidance."
---
# Audit Agent Tool Definitions to Fix Routing Errors
This prompt analyzes your AI agent tool descriptions to eliminate overlap, define clear boundaries, and prevent incorrect tool routing by adding explicit anti-use guidance.
## Prompt
```
Act as an AI systems engineer specializing in agentic workflows. Your job is to audit a set of tool descriptions that are causing routing confusion. I will provide the current tool name and description for 3-5 tools. Follow these rules: 1. Identify where tool capabilities overlap or create ambiguity. 2. Rewrite each description to be mutually exclusive. 3. Add an Anti-Use section to each tool that explicitly states when the agent MUST NOT use this tool. 4. Use simple, direct language that focuses on the specific data scope of the tool. Output format: For each tool, provide: Name, Revised Description, and Anti-Use Cases. This is for technical system design; do not use hype or marketing language. Please ask me to paste the tool list now, and wait for my response.
```
## Usage Notes
Use this when your LLM agent keeps selecting the wrong tool for a task or errors out due to ambiguity. Paste your tool definitions directly into ChatGPT, Claude, or Gemini after the prompt asks for them.
Act as an AI systems engineer specializing in agentic workflows. Your job is to audit a set of tool descriptions that are causing routing confusion. I will provide the current tool name and description for 3-5 tools. Follow these rules: 1. Identify where tool capabilities overlap or create ambiguity. 2. Rewrite each description to be mutually exclusive. 3. Add an Anti-Use section to each tool that explicitly states when the agent MUST NOT use this tool. 4. Use simple, direct language that focuses on the specific data scope of the tool. Output format: For each tool, provide: Name, Revised Description, and Anti-Use Cases. This is for technical system design; do not use hype or marketing language. Please ask me to paste the tool list now, and wait for my response.Example output
Tips and common edits
Why this works
- Forces a mutually exclusive boundary based on the lifecycle of the data.
- Includes explicit anti-use cases to prevent the model from guessing incorrectly.
- Standardizes the description format to make it easier for the model to parse.
Use this when your LLM agent keeps selecting the wrong tool for a task or errors out due to ambiguity. Paste your tool definitions directly into ChatGPT, Claude, or Gemini after the prompt asks for them.
Common edits
- Add a specific data schema or API endpoint reference to the description.
- Adjust the boundary condition if your tools share a database but require different permissions.
Reuse it: Use in a workflowAdapt in the builder
Prompt details
- By
- Prompts-GPT editors
- Published
Did this prompt work?
More like this
Establish an Automated LLM-as-a-Judge Rubric for Tool Calls
Create a structured 1-to-5 grading rubric to verify the accuracy, necessity, and completeness of multi-step AI tool calls.
Generate Adversarial Evaluation Transcripts for AI Agents
Create three distinct multi-turn conversation logs designed to test your AI agent for social engineering, tool hallucination, and silent goal drift.
Red Team Agent System Prompts for Injection Vulnerabilities
Assess the security of your agent system prompt against five common indirect prompt injection vectors using a structured risk analysis table.
Draft Input Sanitization Rules for AI Agents
Get five strict, deterministic input-sanitization rules to prevent prompt injection and data leakage before processing untrusted user inputs in an agent.
Should This Be an Agent? Single Agent, Workflow or Plain Script Decision
Scores a task you want to automate on variability, tool needs, error tolerance and cost, then recommends a plain script, a fixed LLM workflow, a single agent or multi-agent, with the cheapest first build.
Design an AI Agent With Tools, Guardrails and Eval Cases Before You Build It
Turns an agent idea into a build-ready design: the job, the tools with their inputs and permissions, guardrails, failure handling and a set of evaluation cases to test it.
- Agent Tool Names, Descriptions and JSON Schemas from API Docs
- Coding Agent Task Brief with Guardrails, Test Plan, and Rollback Steps
- Tool Permission Matrix and Function Spec for a Tool-Using Agent
- Agent Run Pre-Mortem and Self-Correction Loop Designer
- Agent Workflow Decomposition with Autonomy Levels and Stop Rules
- Incident Recovery Playbook for Rogue AI Agent Loops