Skip to main content
Glama

add_external_link

Idempotent

Link any M00N test entity to an external ticket in Jira, Linear, GitHub, GitLab, or other systems, returning a link record and preventing duplicates by refreshing existing links.

Instructions

Link any test entity (case/execution/release/launch) to an external ticket in Jira, Linear, GitHub, GitLab, or any other system. Returns the link record: id (the link UUID that remove_external_link takes), provider, externalId, externalUrl, externalTitle, externalStatus, linkType, providerMetadata, createdAt. Idempotent: the same provider plus externalId on the same entity refreshes the stored URL and title and returns that link instead of adding a duplicate. Provider jira REQUIRES the issue to exist in the connected Jira: the key is looked up FIRST and an unknown one fails the whole call with 400 and stores nothing, whatever externalUrl you supply. Once it resolves, title and canonical URL are read from the Jira API, and when the organization has remote links enabled a Remote Link is pushed back onto the Jira issue, so a failure there comes back as remoteLinkWarning while the local link still stands. Call list_external_links to see what an entity is already linked to and to get link ids, and remove_external_link to delete one by its link UUID.

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. IGNORED for Jira: the canonical URL is always fetched from the Jira API, and supplying one neither skips the issue lookup nor rescues an unknown key.
externalTitleNoOptional title/summary of the ticket. Ignored for Jira (title comes from the Jira API).

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed1 schema field changedv1.5.3
    • changedInput schema / properties / externalUrl / description
      Previous value: -"Full URL to the external ticket. Required for non-Jira providers. Optional for Jira (the canonical URL is fetched from the Jira API)."New value: +"Full URL to the external ticket. Required for non-Jira providers. IGNORED for Jira: the canonical URL is always fetched from the Jira API, and supplying one neither skips the issue lookup nor rescues an unknown key."
  2. First observedv1.5.0

TDQS

A4.8/5.0
Behavior5/5

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

The description goes beyond annotations by explaining idempotency behavior, Jira-specific validation order, canonical URL fetching, remote-link push-back with remoteLinkWarning, and failure semantics. Annotations already mark readOnlyHint=false and idempotentHint=true; the description adds concrete operational detail that an agent needs to anticipate side effects and error outcomes.

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 dense but organized: it starts with the tool's purpose and return value, then addresses idempotency and Jira-specific behavior. It is longer than typical, but every clause adds operational guidance that affects how the agent invokes the tool. The only minor inefficiency is the length, though it is mostly earned.

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?

Given there is no output schema, the description explicitly enumerates the return fields, which is essential. It also covers entrance criteria (required parameters, Jira lookup), side effects (remote link push-back), and alternatives (siblings). An agent has enough to call this correctly and predict the result.

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

Parameters4/5

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

Schema coverage is high (86%), and the description adds meaningful context over the schema: it explains idempotency keyed on provider+externalId, specifies that externalUrl is required for non-Jira providers and ignored for Jira, and states which fields come from the Jira API. This goes beyond the schema property descriptions, though a few parameters like linkType are not deeply expanded.

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 opens with a specific verb and resource: 'Link any test entity to an external ticket' and explicitly enumerates the supported entity types and external systems (Jira, Linear, GitHub, GitLab). It clearly differentiates from sibling remove_external_link and list_external_links by naming them and their roles.

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 explicitly says when to use this tool versus alternatives: 'Call list_external_links to see what an entity is already linked to and to get link ids, and remove_external_link to delete one by its link UUID.' It also gives conditional usage guidance, such as the Jira issue lookup requirement and when externalUrl is ignored.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

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