Skip to main content
Glama

create_work_item_relation_definition

Create a workspace relation definition with outward and inward labels to establish custom named relationships between work items.

Instructions

Create a new workspace relation definition.

A relation definition describes a named relationship type with an outward label (how the source item describes the target) and an inward label (how the target item describes the source).

Args: name: Unique name for this relation definition. outward: Label describing the relation from the source item's perspective. inward: Label describing the relation from the target item's perspective. is_active: Whether this definition is active and available for use. color: Hex color code for UI display.

Returns: Created WorkItemRelationDefinition object.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
colorNo
inwardNo
outwardNo
is_activeNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNo
nameNo
colorNo
inwardNo
outwardNo
is_activeNo
workspaceNo
created_atNo
is_defaultNo
sort_orderNo
updated_atNo
Behavior3/5

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

With no annotations, the description carries full burden. It properly states this is a create operation and notes the 'name' is unique, but it does not disclose potential error conditions (e.g., duplicate name), permissions required, or reversibility. However, as a create-only operation, the primary behavior is clear.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is organized with a clear opening statement, a brief concept explanation, and bullet-like Args/Returns sections. It is slightly verbose but each part adds value, especially the conceptual clarification of relation definitions.

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 moderate complexity (5 parameters, no schema descriptions), the description covers purpose, all parameters, and the return type. It lacks some usage prerequisites and error scenarios, but is largely complete for a straightforward create operation, especially since an output schema exists.

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

Parameters5/5

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

Schema description coverage is 0%, so the Args section in the description provides meaningful explanations for all 5 parameters. It clarifies 'outward' and 'inward' from source/target perspectives, defines 'is_active', and specifies 'color' as a hex code. This fully compensates for the schema lacking descriptions.

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 first sentence clearly states 'Create a new workspace relation definition' with a specific verb and resource. It distinguishes itself from sibling tools like update_work_item_relation_definition, delete_work_item_relation_definition, and list_work_item_relation_definitions by describing the concept of a relation definition with outward and inward labels.

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 gives clear context about what a relation definition is and what it does, which implicitly guides when to use this tool. It does not explicitly mention alternatives or when not to use, but the conceptual explanation and parameter descriptions help differentiate it from other relation-related tools like create_work_item_relation.

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/leigangzhang/plane-mcp-server-adapter'

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