Skip to main content
Glama

phabricator_revision_edit

Manage Phabricator code reviews: edit revision details, apply actions like accept or reject, and control reviewers, subscribers, and comments.

Instructions

Edit a Differential revision. Supports actions like accept, reject, abandon, request-review, plan-changes, and commandeer. Can also add/remove reviewers, subscribers, and comments.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
objectIdentifierYesRevision PHID or ID (e.g., "D123")
titleNoNew title
summaryNoNew summary
testPlanNoNew test plan
addReviewerPHIDsNoAdd reviewers. Prefix with "blocking(PHID)" to add as blocking reviewer
removeReviewerPHIDsNoRemove reviewers
setReviewerPHIDsNoReplace all reviewers with this list. Prefix with "blocking(PHID)" for blocking
addProjectPHIDsNoAdd projects
removeProjectPHIDsNoRemove projects
commentNoAdd a comment
actionNoRevision action to take. Each action is sent as its own transaction type with value true.
draftNoHold revision as draft (true) or release from draft (false)
addSubscriberPHIDsNoSubscriber PHIDs to add
removeSubscriberPHIDsNoSubscriber PHIDs to remove
repositoryPHIDNoRepository PHID to associate with the revision
addTaskPHIDsNoManiphest task PHIDs to associate
removeTaskPHIDsNoManiphest task PHIDs to remove
addParentPHIDsNoParent revision PHIDs to add (dependencies)
removeParentPHIDsNoParent revision PHIDs to remove
addChildPHIDsNoChild revision PHIDs to add (dependents)
removeChildPHIDsNoChild revision PHIDs to remove
Behavior2/5

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

No annotations are provided, so the description must carry the full burden. It mentions actions like 'accept' and 'reject' but does not explain their effects, side effects, or required permissions. For a mutation tool, more detail on state changes and notifications is needed.

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, front-loaded with the core purpose, and each word adds value. It is concise and efficiently conveys the tool's capabilities without redundancy.

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?

Given the tool has 21 parameters and no output schema, the description is brief and does not explain return values or provide examples. It fails to cover important aspects like what happens after an action is taken, making it incomplete for a tool of this complexity.

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%, and the schema descriptions for parameters are fairly detailed, including prefixes for blocking reviewers and the action enum's behavior. The tool description adds marginal value beyond the schema, so baseline 3 is appropriate.

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 'Edit a Differential revision,' which is a specific verb and resource. It then lists supported actions and additional capabilities, effectively distinguishing it from sibling tools like phabricator_revision_search (for querying) and phabricator_task_edit (for tasks).

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

Usage Guidelines3/5

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

The description does not explicitly state when to use this tool versus alternatives. It lacks guidance on prerequisites, exclusions, or suitability. While the purpose is clear from the name and description, there is no comparative context with sibling tools.

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