GTM Engineering term, AI and agents

Tool use

Tool use, also called function calling, is a language model's ability to request that an external function, API or service be run and then use the result in its answer.

Also called: function calling, tool calling, AI tools

Tool use sits under every stage: it's part of the data and systems the whole funnel runs on, near related terms like AI Agent, Model Context Protocol (MCP) and MCP server (the blue squares).

Tool use is the ability of a language model to call external functions, such as a CRM search, a web lookup, an enrichment API or a calculator, and then use what comes back. It is what turns a chatbot into an AI agent that can check facts, pull live data and take actions in your GTM stack.

How it works

You describe each tool to the model with a name, a plain-language description and a parameter schema. For example: search_crm(company_domain: string) with the description "Returns open opportunities and owner for a company domain."

The loop then runs like this:

  1. The model reads the user request and the tool list.
  2. If a tool would help, it returns a tool call instead of a final answer: the tool name plus arguments as structured output.
  3. Your code runs the call, usually by hitting an API, and sends the result back to the model.
  4. The model reads the result and either calls another tool or writes its answer.

The model never touches your systems directly. Your code is the gatekeeper, which is where permissions, rate limits, logging and approvals live. The Model Context Protocol standardizes how tools are described and served, so one MCP server for your CRM can work across several AI clients.

Example

Say a rep asks an assistant, "Is Acme already a customer and who owns it?" Without tools, the model guesses or says it doesn't know. With a search_crm tool, it calls the CRM with "acme.com", gets back "Customer since 2024, owner: Dana, renewal in 90 days", and answers correctly.

Now scale it. A team gives an agent three tools: search_crm, get_firmographics and create_task. A rep pastes 40 conference attendees' companies. The agent makes 40 CRM lookups and 40 firmographic calls, finds that 9 are existing customers and 6 are open opportunities, and creates follow-up tasks only for the remaining 25 net-new accounts. Assume each lookup takes a rep two minutes by hand: that is 80 calls × 2 minutes, about 2.7 hours, done in a few minutes, with no duplicate outreach to customers.

How to set it up safely

Split tools into read tools and write tools. Read tools (search, lookup, fetch) can usually run freely. Write tools (create, update, send, delete) should start behind human in the loop approval until you trust them.

Write tool descriptions as carefully as prompts. The model picks tools based on the description, so "Use only for existing customers; returns renewal date" prevents a lot of wrong calls. Keep the tool list short per task: ten focused tools beat fifty overlapping ones. Add guardrails in code, not just in instructions, such as a cap on records updated per run.

Common mistakes

  • Giving an agent write access to the CRM on day one with no approval step or update cap.
  • Vague tool descriptions, so the model calls the wrong one or skips a tool it needed.
  • Returning huge raw API payloads to the model, which burns tokens and buries the useful fields.
  • No logging of tool calls, so nobody can trace why a record changed.
  • Assuming the model will handle API errors gracefully without explicit error messages and retry rules.

FAQ

Is tool use the same as function calling?

Yes, in practice. Function calling was the early name some providers used; tool use is the broader term. Both mean the model outputs a structured request to run a named function with arguments, and your code runs it and returns the result.

Does the AI model actually run the tool itself?

No. The model only proposes the call. Your application or agent framework runs the function, which means you control permissions, logging and whether a human approves the action first.

How is tool use related to MCP?

The Model Context Protocol is a standard way to package and expose tools so any compatible AI client can use them. Tool use is the capability; an MCP server is one common way to deliver a set of tools to the model.

See all AI and agents terms ↳

Used in these articles