Skip to main content
Glama

links_create

Creates a directional link between two entities, for example linking a test case to a bug during editing.

Instructions

Create a link between two entities

Tag: Links

Creates a directional link between two entities.

entityA is the entity currently open or being edited — its ID is stored in the corresponding foreign key field. entityB is the entity being linked to entityA — its type is stored in type and its ID in meloQaLinkedId.

Example use case: A user is editing a bug and opens the link panel to attach a test case. To replicate this action via the API, set entityAType to bug and entityAId to the ID of the open bug, then set entityBType to test-case and entityBId to the ID of the selected test case.

The same logic applies regardless of which entity type is open: always pass the entity being viewed as entityA and the entity being attached as entityB.

Paid-plan only: this endpoint requires the organization to have an active subscription. Free-plan organizations receive 403.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
entityAIdYes
entityBIdYes
entityATypeYesThe entity currently being viewed
entityBTypeYesThe entity being linked to entityA
Behavior4/5

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

No annotations provided, so description carries burden. It discloses directional nature (entityA/entityB roles) and paid-plan limitation. Missing details on duplicate handling or entity existence checks.

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?

Well-structured with clear paragraphs and front-loaded purpose. Some redundancy (e.g., 'Tag: Links') but overall efficient.

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?

Lacks output schema description and doesn't state return format of created link. Covers essential usage and constraints but could be more complete for a creation tool.

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 coverage is 50%, but description adds significant value by explaining roles of entityA/entityB with an example, clarifying parameter semantics beyond enum 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 description clearly states 'Create a link between two entities' and provides a detailed example. It distinguishes from sibling tools like links_delete and links_list.

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?

Explains when to use with a concrete example and notes paid-plan restriction. However, lacks explicit guidance on when to use alternatives like links_batch_create.

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/swl-informatica/meloQA-MCP'

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