Toward SLM-based agentic task-tool intent matching
Chiara Troiani, Arash Salarian, Majed El Helou, Benjamin Ryder, Jean Diaconu, Hervé Muyal, Marcelo Yannuzzi
Abstract
Tool-equipped AI agents use tool calls to access data and act on external systems. Horizontal growth of agentic systems increases the number of these interactions, and further motivates the need for automated, per-call oversight that can operate at low latency and/or on-prem. Conventional authorization schemes can determine whether an agent is allowed to invoke a tool, but cannot assess the agent's underlying cognition, specifically, whether the tool selection represents a logical, relevant step toward satisfying the intent of the task or not. Consequently, an allowed call may still deviate from the task's intent: a rogue agent might deviate the calls or nudge other agents to make a combination of calls that would not align with the intent of the task. Therefore, every call needs to be verified. In this study we investigate the applicability of Small Language Models (SLMs) to this purpose: an SLM functions as a task-tool relevance classifier that evaluates every selected tool independently against the assigned task and returns a relevance signal for downstream enforcement. Equipped with a novel dataset with multi-tool tasks whose required tools span distinct Model Context Protocol (MCP) servers, we used prompt-optimization, supervised fine-tuning, and reinforcement learning through GRPO to optimize and specialize SLMs.
Create a lesson
Related papers
Intent-Conditioned Argument Mediation for Tool-Using LLM Agents: Blocking Trusted-but-Unauthorized Arguments
Shared title terminologycs.AIYulliwas Ameur, Miqeas Pedro Mendes, Samia Bouzefrane
Do Tool Calls Execute as Intended? Measuring and Repairing Intent-Execution Correspondence in LLM Agents
Shared title terminologycs.AIBoyang Yang, Zhenhao Li, Ziyao Yang et al.
TACT-Bench: Testing Adaptive Conversational Threats against Tool-Use Agents
Shared title terminologycs.AIIlia Hashemi Rad, Feijie Wu, Haoyu Wang et al.
PatientFlowSynth: Evaluating FHIR Agents with Matched Patient Charts
Shared title terminologycs.AIAnthony Cuturrufo, Ratul Ghosh, Devashish Khatwani et al.
Learning What vs. Learning How: Decomposing Task and Interface Competence in Agentic Training
Shared title terminologycs.AIChaeeun Lee, Hossein A. Rahmani, Aryo Pradipta Gema et al.
SchemaCaps: When a Compatible Tool Update Silently Widens an AI Agent's Authority
Shared title terminologycs.AIYulliwas Ameur, Samia Bouzefrane, Soumya Banerjee