Skip to main content
Glama

publish_ai_action

Publish an AI Action to make it available in your Contentful environment. Provide the AI action ID, space ID, and environment ID to deploy the action and enable AI-powered content operations.

Instructions

Publish an AI Action

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
aiActionIdYesThe ID of the AI Action to publish
spaceIdYesThe ID of the Contentful space. This must be the space's ID, not its name, ask for this ID if it's unclear.
environmentIdYesThe ID of the environment within the space, by default this will be called Mastermaster
Behavior2/5

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

With no annotations and a minimal description, the behavioral impact of 'publish' is undefined. The description does not disclose whether publishing is reversible, requires specific permissions, or triggers side effects, leaving the agent uninformed about the operation's effects.

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

Conciseness2/5

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

The description is extremely brief—only four words—which borders on underspecification. While conciseness is valued, this brevity comes at the cost of missing crucial context, making it less helpful than a slightly longer but informative version.

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

Completeness2/5

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

For a tool with three required parameters and no output schema, the description is insufficient. It fails to explain the effect of publishing, success criteria, or any notable behaviors, leaving the agent without enough context to use the tool confidently.

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?

The input schema provides complete descriptions for all three parameters (aiActionId, spaceId, environmentId), so the description need not add more. However, the description does not augment the schema with any additional insight, so it meets the baseline for high schema coverage.

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

Purpose4/5

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

The description clearly states the verb 'publish' and the resource 'AI Action', which matches the tool name and effectively communicates the primary action. However, it does not elaborate on what publishing entails or differentiate it from other publish tools, but the resource name provides sufficient distinction among siblings.

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

Usage Guidelines2/5

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

No guidance is provided on when to use this tool versus alternatives like create, update, or unpublish. The description lacks any context about prerequisites, typical scenarios, or conditions for publishing an AI Action.

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/ivo-toby/contentful-mcp'

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