Skip to main content
Glama
itential

Itential MCP Server

Official
by itential

Expose Agent

expose_agent

Expose an agent as an API endpoint by creating an automation with a trigger, enabling invocation via route_name.

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?

The description goes beyond the annotations (which only set readOnlyHint=false, openWorldHint=false, destructiveHint=false) by detailing the concrete behavior: it creates an automation and an endpoint trigger, and assigns a route_name. This is meaningful context that helps predict side effects. It does not disclose potential edge cases like duplicate automation names, but the core creation behavior is clearly stated.

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: a concise one-sentence summary followed by a one-sentence explanation of the automation/endpoint wrapping. Every word earns its place; there is no redundancy or filler.

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's complexity (6 parameters, output schema present), the description explains both the purpose and the underlying mechanism (automation + endpoint trigger) sufficiently for an agent to decide to invoke it. It does not describe return values, but the output schema covers that. The only minor gap is not explicitly contrasting with expose_workflow, but the resource distinction is clear.

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 the schema itself fully documents each parameter. The description adds no additional parameter semantics beyond the schema, but does not need to. It mentions route_name in the context of how the agent will be triggered, which is a minor extra connection.

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 states a specific verb and resource: 'Expose an agent as an API endpoint trigger.' It clearly differentiates from sibling tools like expose_workflow (exposes a workflow) and trigger_automation (triggers an existing automation). The second sentence further clarifies the mechanism, making the purpose unambiguous.

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 by explaining that the agent can be started via trigger_automation using the assigned route_name, and that it wraps the agent with an endpoint trigger. It does not explicitly list exclusions or alternatives, but the distinct mention of trigger_automation and the contrast with expose_workflow imply appropriate usage scenarios.

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