Skip to main content
Glama

Link action to external item

link_action_integration

Link an action to an external item in a project integration. get_project_overview with include=[integrations] lists enabled integrations and ID formats. Azure DevOps work items in a different project in the same organization can still be linked; the response includes a warning when the item's project differs from the mapped project. Basecamp to-dos and cards can be linked from any project the connection can see, by id or basecamp.com URL; the response includes externalProject and mappedProject with no warning. GitHub issues and pull requests can be linked by a github.com URL or owner/repo#number; externalProject is the repository full name. An action can link up to 20 items per integration; linking adds to any existing links, and linking the same item twice is rejected. Owner, Editor, or Contributor.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "projectId": "<projectId>",
      "actionId": "<actionId>",
      "integration": "<integration>"
    },
    "name": "link_action_integration"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionIdYesThe action ID to link.
projectIdYesThe Action Log project ID.
externalIdNoExternal item ID (DevOps work item ID, Basecamp item ID, or Jira issue key). Required for azure-devops. For Basecamp or Jira, provide this or externalUrl.
externalUrlNoBasecamp or Jira item URL, used when externalId is not provided.
integrationYesIntegration name: azure-devops, basecamp, or jira (aliases: devops, azdo).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations declare openWorldHint=true, idempotentHint=false, destructiveHint=false, but say nothing about response shape or limits. The description adds the cross-project warning behavior, the externalProject/mappedProject response fields, the per-integration link cap, and the required permission level (Owner, Editor, or Contributor) – all context an agent cannot get from annotations.

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?

Front-loaded with purpose, and each sentence carries substantive per-integration rules with no filler. The long semicolon-chained sentences pack several distinct rules together, making the per-integration details harder to scan than a structured list would be.

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?

With no output schema, the description usefully describes return fields (warning for cross-project DevOps items, externalProject and mappedProject for Basecamp). The main gap is Jira, which is a valid integration per the schema yet receives no linking or identifier guidance, plus the unexplained GitHub mention.

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 100%, so baseline is 3, and the description does add format guidance beyond the schema (URL vs id, owner/repo#number). However it discusses GitHub identifier formats while the schema's integration list enumerates only azure-devops, basecamp, and jira, and it never explains Jira identifier expectations despite the schema flagging Jira issue keys – a mismatch that leaves the agent guessing.

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?

Opens with a specific verb and resource: 'Link an action to an external item in a project integration.' It also distinguishes itself from the sibling get_project_overview, which is named as the discovery step rather than a substitute for linking.

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?

Gives explicit prerequisites and per-integration selection rules: call get_project_overview with include=[integrations] first, then pick identifier format based on integration (DevOps ID, Basecamp id/URL, GitHub URL or owner/repo#number). It also states hard constraints – 20 items max per integration, duplicates rejected, multiple links accumulate.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources