Skip to main content
Glama
playcanvas

PlayCanvas Editor MCP Server

Official
by playcanvas

get_conflict_file

Read-only

Read the content of one side of a conflicting file to understand the code and decide how to resolve the conflict. This read-only action supports informed merge conflict resolution.

Instructions

Read the content of one side of a conflicting file so you can decide how to resolve it. Read-only; does not resolve anything. When NOT to use: to choose a resolution (use resolve_conflicts).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
mergeIdYesId of the merge (from start_merge)
fileNameYesName of the conflicting file (from the conflict record)
resolvedNoFetch the resolved version instead of the original (default false)
conflictIdYesId of the conflict (from the merge's conflicts list)
Behavior3/5

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

Annotations already declare readOnlyHint=true, and the description reinforces this with 'Read-only; does not resolve anything,' explicitly naming the side effect it does not perform. It does not describe return shape or edge cases, but for a read-only tool this is a minor gap rather than a serious omission. No contradiction with annotations.

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 short sentences deliver the core action, the read-only safety property, and the explicit exclusion of resolve_conflicts. Every sentence earns its place with no filler.

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

Completeness5/5

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

For a read-only conflict-file reading tool, the description plus the fully documented schema covers what an agent needs to call it correctly. The absence of an output schema is acceptable because the description already states that the tool reads file content, and no nested objects or complex return constraints exist.

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 description coverage is 100%, and each parameter already has a meaningful description explaining its origin, such as 'from start_merge' and 'from the conflict record'. The tool description adds no parameter-specific detail beyond the schema, so the schema carries the burden.

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 uses a specific verb and resource: 'Read the content of one side of a conflicting file' for the purpose of deciding how to resolve it. It also explicitly distinguishes the tool from resolve_conflicts by stating it is read-only and does not resolve anything.

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

Usage Guidelines5/5

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

The description clearly states when to use the tool — to read conflict content while deciding a resolution — and when not to use it: 'to choose a resolution (use resolve_conflicts)'. This explicit exclusion and sibling routing leaves little to inference.

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/playcanvas/editor-mcp-server'

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