Skip to main content
Glama
itential

Itential MCP Server

Official
by itential

expose_agent

Create an API endpoint that triggers an agent by wrapping it in an automation, enabling invocation via trigger_automation.

Instructions

Expose an agent as an API endpoint trigger.

Creates an automation wrapping the specified agent and an endpoint trigger so the agent can be started via trigger_automation using the assigned route_name.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
agent_idYesUUID of the agent to expose (agent_id from get_agents)
route_nameNoAPI route name; defaults to automation_name with spaces replaced by underscores
endpoint_nameNoName for the trigger endpoint
automation_nameYesName for the automation wrapping the agent
endpoint_schemaNoJSON Schema for endpoint input; defaults to open schema
endpoint_descriptionNoDescription for the endpoint trigger

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
messageYesThe status of the expose operation
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden. It explains the main side effect—creating an automation and an endpoint trigger—and how the agent is started via trigger_automation using the route_name. It does not mention permissions or idempotency, but the core behavioral change is clearly disclosed.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two sentences, front-loaded with the main purpose, and every sentence adds information. There is no filler or redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool has an output schema and all parameters are described in the schema, the description is adequately complete. It captures the essential purpose and mechanism without needing to repeat return-value or parameter details.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so parameter semantics are already well documented. The description adds minimal additional meaning, only noting that route_name is the assigned route used for trigger_automation, which aligns with schema descriptions. This meets the baseline but doesn't exceed it.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb+resource pair: 'Expose an agent as an API endpoint trigger.' It clearly states what the tool does (creates an automation with an endpoint trigger) and distinguishes it from the sibling 'expose_workflow' by focusing on agents.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides clear context on when to use the tool: to expose an agent as an API endpoint trigger so it can be invoked via trigger_automation. It does not explicitly mention alternatives or when not to use it, but the context is sufficient for most use cases.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/itential/itential-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server