Skip to main content
Glama

create_comment

Create a comment on a Contentful entry with a body and status. Support threaded replies via parent ID to extend discussions beyond 512 characters.

Instructions

Create a new comment on an entry. The comment will be created with the specified body and status. To create a threaded conversation (reply to an existing comment), provide the parent comment ID. This allows you to work around the 512-character limit by creating threaded replies.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
entryIdYesThe unique identifier of the entry to comment on
bodyYesThe content of the comment (max 512 characters)
statusNoThe status of the commentactive
parentNoOptional ID of the parent comment to reply to. Use this to create threaded conversations or to continue longer messages by replying to your own comments.
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
Behavior3/5

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

The description states the comment will be created with body and status, and mentions threading via parent. However, with no annotations, it does not disclose potential side effects, permissions needed, or return value behavior. This is adequate but lacks deeper transparency.

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?

Three sentences with no wasted words. The first sentence states the purpose directly. The second and third sentences add essential usage guidance and parameter context without redundancy.

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

Completeness3/5

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

The description covers the creation action and parameter details well. However, it does not mention what the tool returns (e.g., the created comment object), which is a gap given no output schema. Error cases also not mentioned.

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

Parameters4/5

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

Schema coverage is 100% (baseline 3). The description adds meaningful context beyond the schema: explains the parent parameter's role for threading and char limit workaround, notes body's max length, and clarifies that spaceId must be the ID not name, and environmentId defaults to 'master'.

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 clearly states 'Create a new comment on an entry', specifying the verb ('create') and resource ('comment'). It also mentions threaded replies via parent ID, distinguishing it from update/delete/get comments.

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 explains when to use the parent parameter (to create threaded conversations or work around the 512-character limit), providing clear usage context. It does not explicitly list when not to use the tool, but the purpose is well defined.

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