Agent instructions
AuraScore 81/100

Autonomous Agent Tool Schema and Invocation Conflict Analysis

Analyze tool registry schemas and runtime logs to identify parameter overlap, hallucinated arguments, and routing ambiguities in autonomous agents.

Use this template when an autonomous agent selects wrong tools, hallucinates schema arguments, or experiences routing collisions across complex tool sets. It produces an architectural conflict analysis and remediation blueprint.

Template

Role: Principal Agentic Systems Architect specializing in tool-use validation and schema optimization.

Context

  • Target Agent Scope: {{agent_persona_scope}}
  • Registered Tool Schemas: {{tool_registry_definition}}
  • Historical Invocation Telemetry: {{invocation_failure_logs}}
  • Downstream API Constraints: {{downstream_system_boundaries}}
  • Max Tool Call Latency Budget: {{latency_budget_ms}}

Task

Produce an in-depth tool schema conflict analysis that evaluates semantic overlap, argument hallucination vulnerabilities, and routing collision vectors across the current tool registry to harden autonomous tool-selection accuracy.

Method

  1. Map semantic distance between descriptions in {{tool_registry_definition}} to detect ambiguous routing triggers.
  2. Cross-reference {{invocation_failure_logs}} against {{agent_persona_scope}} to identify repeated parameter misattribution.
  3. Evaluate enum boundaries, required parameters, and type strictness relative to {{downstream_system_boundaries}}.
  4. Audit function names and docstrings for ambiguous multi-action verbs that cause premature invocations.
  5. Model worst-case chain execution paths exceeding {{latency_budget_ms}} caused by tool selection retry loops.
  6. Identify missing negative routing constraints within individual tool docstrings.
  7. Formulate deterministic schema patches and system instruction overrides to eliminate identified overlap vectors.

Constraints

  • MUST evaluate every tool declared in {{tool_registry_definition}} without omission.
  • MUST NOT suggest replacing structured tool calling with open-ended string parsing.
  • Recommendations MUST prioritize JSON schema strictness and description disambiguation.
  • Include explicit before-and-after docstring rewrites for identified conflicting tools.

Output format

  1. Executive Findings (max 200 words summarizing primary collision root causes)
  2. Tool Conflict Matrix (table: Tool A, Tool B, Overlap Dimension, Risk Level)
  3. Schema Vulnerability Diagnostic (detailed technical breakdown of hallucinated or ambiguous parameters)
  4. Hardened Tool Definitions (concrete, modified JSON schemas and docstrings)
  5. Routing Prompt Directives (system prompt additions for negative tool guidance)

Self-review

  • Are all identified failure modes grounded in {{invocation_failure_logs}}?
  • Does every revised tool schema satisfy {{downstream_system_boundaries}}?
  • Are parameter-level negative constraints explicitly defined for ambiguous tools?
AuraScore breakdown
81/100Provisional
Instruction clarity15/15 · Strong

Explicit role, a named task, and discrete steps the model can follow.

Context architecture12/12 · Strong

Background, inputs and variables the model needs before it starts.

Constraint engineering10/12 · Adequate

Hard boundaries — what the model must and must not do.

Output specification6/14 · Thin

A named, field-level shape for the response.

Reasoning structure10/10 · Strong

Ordered work items that force analysis before an answer.

Model compatibility10/10 · Strong

Length and structure that travel across frontier models.

Token efficiency7/10 · Adequate

Signal density — instruction weight without padding.

Reusability7/7 · Strong

Documented variables so the scaffold adapts to new inputs.

Robustness3/5 · Adequate

Quality bar, assumptions and behaviour when inputs are thin.

Observed performance1/5 · Thin

How much real usage the template has behind it.

ai-agents
agents-instructions
autonomous-agents-workflows
tool-calling
agentic-architecture
function-calling