Skip to main content
Glama

post_pr_comment

Post a new comment thread to a pull request, specifying text, status, and optional working directory for context.

Instructions

Post a new comment thread to a PR.

Creates a new comment thread with the specified content and status.

Args: pr_url_or_id: A full PR URL or numeric PR ID. comment_text: Comment body text. status: Thread status (default "active"). working_directory: Optional path for context resolution.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pr_url_or_idYes
comment_textYes
statusNoactive
working_directoryNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

No annotations are provided, and the description does not disclose behavioral traits such as required permissions, idempotency, or whether it modifies existing data. For a creation tool, this lack of transparency is a gap.

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 concise, front-loaded with the purpose, and includes a clear list of arguments. Every sentence adds value; no redundant information.

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 tool's action and key parameters but does not mention output schema or behavioral context (e.g., whether it requires an existing PR context, rate limits). Given the presence of an output schema and siblings, it is somewhat lacking.

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?

Despite 0% schema description coverage, the description adds meaning: pr_url_or_id is 'a full PR URL or numeric PR ID', comment_text is 'Comment body text', status is described with default, and working_directory as 'optional path for context resolution'. This significantly clarifies the parameters beyond the schema.

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?

Description clearly states 'Post a new comment thread to a PR' with a specific verb and resource. It distinguishes from siblings like 'reply_to_pr_comment' and 'post_rich_comments' by focusing on creating a new thread.

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 on when to use this tool versus alternatives like 'reply_to_pr_comment' or 'post_rich_comments'. The description lists parameters but does not provide explicit context or exclusions.

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/grimlor/ado-workflows-mcp'

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