Skip to main content

Tools

Tools extend what your agents can do beyond conversation. With tools, agents can remember information, make calculations, call APIs, and interact with external services.

What Are Tools?

Think of tools as the hands and eyes of your agent. Without tools, an agent can only talk. With tools, it can actually do things -- look up an order, create a ticket, send an email, or query a database.

When an agent decides it needs to use a tool, it:

  1. Chooses which tool to use based on the conversation
  2. Provides the required inputs
  3. Receives the tool's output
  4. Uses that output to craft its response

Tool Categories

Built-in Tools

MeetLoyd provides several tools out of the box:

ToolWhat It Does
MemoryStore and retrieve information across conversations
CalculatorPerform mathematical calculations (arithmetic, percentages, compound interest)
Current TimeGet the current date and time in any timezone

Integration Tools

When you connect an integration in Settings > Integrations, its tools automatically become available to your agents. No extra configuration needed -- just connect and go.

IntegrationTools Available
GitHub67 operations across repos, issues, PRs, actions, security, projects, and discussions
HubSpot CRM17 operations: contacts, companies, deals, tickets, search, pipelines
Google WorkspaceUser management, groups, shared drives, and licenses
Microsoft 365User management, groups, Teams channels, SharePoint sites, and licenses
Grouped operations

Each connected integration exposes a single tool with an operation parameter. For example, GitHub becomes one github tool -- the agent selects the operation (e.g., search_repositories, create_issue) via the operation field. This keeps the total tool count low even with many integrations connected.

Platform Tools

Agents can interact with the MeetLoyd platform itself -- listing agents, creating tasks, getting workspace information, and more. These are especially useful for Loyd and other administrative agents.

How Tools Are Assigned

Tools are assigned to agents through authorization grants on the Authorization page. When you grant a permission (e.g., "Contributor" on a Git repository), the associated tools become available automatically.

You can also assign tools in the Agent Wizard when creating or editing an agent -- the "Access and Permissions" step lets you configure grants visually.

Structured Retry Strategies

Tools can define per-error retry guidance that tells agents exactly what to try when something fails. Instead of generic "try again" messages, agents receive targeted instructions like "Target agent not found. Use get_reachable_agents to find valid IDs."

When a tool fails, the platform matches the error against the tool's defined patterns, returns specific guidance, and suggests a fallback tool if one is configured.

tip

Agents also learn from past mistakes. The platform tracks feedback and failure patterns, and injects "lessons learned" into agent prompts so they don't repeat the same errors across runs.

Connecting Integration Tools

  1. Go to Settings > Integrations in the dashboard
  2. Find the service you want to connect (GitHub, HubSpot, Google, etc.)
  3. Click Connect and complete the OAuth flow
  4. The integration's tools are now available to all agents in the workspace

GitHub

Full access to repositories, issues, pull requests, actions, code security, and more via the official GitHub MCP server.

CategoryOperations
Repositoriessearch, get file contents, create/update files, push, create repo, fork, branches, commits, code search
Issueslist, search, read, write, comment
Pull Requestslist, search, read, create, update, merge
Actions and CIlist, get, trigger, get job logs
Securitycode scanning, secret scanning, Dependabot alerts
Projectslist, get, write
Discussionslist, get, get comments

HubSpot CRM

CategoryOperations
Contactslist, get, create, update
Companieslist, get, create
Dealslist, get, create, update
Ticketslist, create
Searchcross-object search, associate records
Pipelineslist pipelines, list owners

Google Workspace Admin

10 operations: user management, groups, shared drives, and licenses.

Microsoft 365 Admin

14 operations: user management, groups, Teams channels, SharePoint sites, and licenses.

Configuring Tool Access

Security Best Practices

PracticeDescription
Minimal toolsOnly enable the tools each agent actually needs
Domain restrictionsRestrict which URLs HTTP tools can access
Environment variablesNever hardcode API keys -- use environment references
Rate limitingControl how often tools can be called per time window
TimeoutsSet execution time limits to prevent hanging requests

Guiding Tool Selection

Help agents know when to use tools by including guidance in the system prompt:

When to use the lookup_order tool:

  • When a user asks about order status
  • When a user provides an order number

When NOT to use tools:

  • Simple greetings and conversation
  • Questions you can answer from knowledge

Error Handling in Prompts

Tell agents how to behave when tools fail:

If a tool fails:

  • Acknowledge the issue to the user
  • Try an alternative approach if available
  • Offer to create a ticket for manual resolution
  • Never make up data or guess

MCP (Model Context Protocol)

For custom integrations, MeetLoyd supports the Model Context Protocol. You can connect any MCP-compatible server to give agents access to your own APIs, databases, or internal tools.


Agent Authorization
Fine-grained tool permissions for agents
Integrations Overview
All available integrations
Custom Tools
Build your own MCP tools