Skip to main content
Glama

phabricator_revision_inline_comment

Create a draft inline comment on a specific line of a Phabricator Differential diff. Publish it later using a revision edit call.

Instructions

Create an inline comment on a specific line of a Differential diff. The comment will appear as a draft — publish it by calling phabricator_revision_edit with a comment on the same revision.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
revisionIDYesNumeric revision ID (e.g., 123). Do not include the "D" prefix.
diffIDYesDiff ID to comment on. Use phabricator_diff_search to find this.
filePathYesPath to the file being commented on
lineNumberYesLine number in the file
lineLengthNoNumber of lines the comment spans (default: 0 for single line)
contentYesComment text (supports Remarkup)
isNewFileNoWhether the line number refers to the new file (true) or old file (false). Default: true
Behavior3/5

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

With no annotations, the description reveals the draft behavior, which is a critical behavioral trait. It does not cover permissions, reversibility, or notifications, but the draft disclosure adds value beyond the schema.

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?

Two concise sentences front-load the action and immediately provide the essential context about drafts, with no redundancy or fluff.

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 (7 params, no output schema), the description covers the purpose, draft lifecycle, and the need to publish. It could optionally mention the return format or confirmation behavior, but the provided information is sufficient for correct usage.

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 coverage is 100%, so the parameters are already well-described in the schema. The tool description does not add additional parameter-level guidance, meeting the baseline expectation.

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 identifies the action ('Create an inline comment on a specific line of a Differential diff') and distinguishes it by mentioning the draft-and-publish workflow, which no other sibling tool does.

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?

It explicitly states that the comment is a draft and must be published via phabricator_revision_edit, providing a clear follow-up action. However, it does not specify when not to use this tool or compare it to alternatives.

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/freelancer/phabricator-mcp'

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