Improving Tool Use with Small LLMs

I have been trying to develop an agentic AI system with a local MCP server . I am using llama-cpp with the LFM 2.5 2.6B model&mdash;this LLM is only 1.7 GB and is very fast. However I found the model used a parameter in one of the tool calls correctly about 0% of the time. Tool Use Other models, including Gemma 4, used the parameter correctly nearly 100% of the time. So I tried to figure out what…