# Dynamic intents, functions or MCP: what to use?

Dynamic intents, functions, and MCPs are three powerful AIsuru tools for extending your Agent's capabilities. Understanding their differences will help you choose the right tool for your specific needs.

### Dynamic intents: control and security

Dynamic intents:

* Give you greater control over parameters and conversation flow;
* Don't use generative AI, ensuring predictable responses;
* Are ideal for structured, secure processes.

When to use them:

* To collect specific information (e.g., bookings, forms);
* In situations that require a higher level of accuracy and security.

🔒 Dynamic intents are the best choice when **security and predictability** are the priority.

### Functions: flexibility and power

Functions offer greater flexibility over parameters and use generative AI to interpret results and generate responses.

When to use them:

* For complex, variable interactions (e.g., opening a support ticket);
* For conversations that require depth or creativity.

💡 Functions are ideal when you want to fully leverage generative AI for more natural and adaptive responses.

### MCP (Model Context Protocol): intelligent extensions

MCPs (Model Context Protocol) are external servers that extend your Agent's capabilities by connecting it to external services and data sources in real time.

**MCPs:**

* Let the Agent access up-to-date information and external services;
* Use generative AI to interpret results and weave them into the conversation;
* Are triggered automatically when the Agent identifies a need for them.

**When to use them:**

* To give the Agent access to real-time data (e.g., web searches, company databases);
* To integrate external services (e.g., CRM, management software, third-party APIs);
* To extend functionality without having to build custom integrations.

🔌 MCPs are the ideal solution when you want to connect your Agent to external systems and enrich its knowledge with always up-to-date data.

### Summary table

Here's a table to help you decide between dynamic intents, functions, and MCP. 👇

| Feature                     | Dynamic Intents                                                          | Functions                                                                                                                       | MCP                                                                                                                                                                      |
| --------------------------- | ------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| **Control**                 | <p>Greater control,<br>less flexibility</p>                              | <p>Less control,<br>greater flexibility</p>                                                                                     | Control delegated to external services, maximum extensibility                                                                                                            |
| **Generative AI usage**     | No                                                                       | Yes                                                                                                                             | Yes                                                                                                                                                                      |
| **Accuracy**                | High, ideal for structured processes                                     | Delegated to generative AI, generally lower in favor of greater flexibility                                                     | Depends on the external source; very high for structured and up-to-date data                                                                                             |
| **Response predictability** | Consistent and predictable responses                                     | Adaptive and contextual responses                                                                                               | Variable responses based on real-time external data                                                                                                                      |
| **Complexity**              | Best for simple, structured processes                                    | Suited to complex, variable interactions                                                                                        | Ideal for integrations with external systems and multiple data sources                                                                                                   |
| **Ideal use cases**         | <ul><li>Collecting specific information</li><li>Sending emails</li></ul> | <ul><li>Advanced technical support</li><li>Real-time integration with external systems</li><li>Creative conversations</li></ul> | <ul><li>Real-time web searches</li><li>Connecting to company databases</li><li>Integration with CRM and management software</li><li>Access to third-party APIs</li></ul> |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.aisuru.com/en/advanced-features/integrations/dynamic-intents-functions-or-mcp-what-to-use.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
