Skip to main content
Glama

add_external_link

Idempotent

Link any test entity (case, execution, release, launch) to an external ticket in Jira, Linear, GitHub, or GitLab. Reusing the same external ID returns the existing link, avoiding duplicates.

Instructions

Link any test entity (case/execution/release/launch) to an external ticket in Jira, Linear, GitHub, GitLab, or any other system. Idempotent: linking the same external_id twice returns the existing link.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
entityIdYesEntity ID: numeric integer for case, UUID string for the others.
linkTypeNocovers
providerYesProvider identifier, lowercase. Common: 'jira', 'linear', 'github', 'gitlab'.
entityTypeYesType of M00N entity to link.
externalIdYesExternal ticket key/number, e.g. PROJ-123, ENG-456, #42. For Jira, also accepts a full issue URL (e.g. https://yourorg.atlassian.net/browse/PROJ-123) - the key is extracted automatically.
externalUrlNoFull URL to the external ticket. Required for non-Jira providers. Optional for Jira (the canonical URL is fetched from the Jira API).
externalTitleNoOptional title/summary of the ticket. Ignored for Jira (title comes from the Jira API).
Behavior4/5

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

The description adds valuable behavioral context beyond the annotations: repeated calls with the same external_id return the existing link instead of creating a duplicate. This clarifies the idempotency behavior that idempotentHint only hints at. No contradiction with annotations exists.

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 sentences and both are purposeful: the first states exactly what the tool does and to which systems, and the second covers an important behavioral caveat. No filler or redundancy.

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?

The description, combined with the rich schema and annotations, is largely complete: scope, idempotency, and entity/provider flexibility are all covered. The only notable gap is that the happy-path return value is not described, and there is no output schema to compensate.

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 86%, so the schema already carries most parameter semantics, setting the baseline at 3. The description does not meaningfully add to individual field meanings, although the idempotency note does clarify the function-level semantics of externalId.

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?

Description uses a specific verb and resource: 'Link any test entity... to an external ticket...'. It explicitly enumerates entity types and target systems, which clearly distinguishes it from sibling tools like link_launches_to_release or link_autotest_to_case.

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 context is clear: use this tool when adding an external link to an entity. However, it does not explicitly differentiate when to use this tool versus alternatives such as list_external_links or remove_external_link, nor does it provide any exclusions or when-not-to-use guidance.

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

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