Skip to main content
Glama

Link a feature key

link_feature_key
Destructive

Point a feature key your code sends, such as "search", at a feature or an area on the map. Pass neither target to clear it. Notes, errors and use follow the key, including dotted descendants without a more specific link. A person's link wins over code and observed use. Clearing it allows automatic matching again. Unlinked dotted keys use the longest linked prefix. Use per feature updates after the next daily count. A product keeps at most 2,000 feature keys: a new key past that gets a 409, but an existing key can still be relinked. ENGINEER+ required.

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": {
      "workspace": "<workspace>",
      "project": "<project>",
      "key": "<key>"
    },
    "name": "link_feature_key"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYesThe feature key your code sends, such as "search" or "chat.answers"
areaNoAn area slug from list_areas. Leave out with featureId
projectYesProject slug or id
featureIdNoFeature id (uuid) from list_features. Leave out with area
workspaceYesWorkspace slug or id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

The annotations already flag this as a destructive, non-read-only mutation, and the description goes well beyond them: precedence rules (a person's link wins over code and observed use), propagation of notes/errors/use to dotted descendants, the 2,000-key ceiling with a 409 on new keys but not on relinks, and the permission level required.

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 action is front-loaded in the first sentence and nearly every following sentence carries substantive rules about precedence, limits, and clearing. The one weak spot is the telegraphic 'Use per feature updates after the next daily count', which is compressed to the point of ambiguity.

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?

For a mutating linking tool with five parameters and no output schema, the description covers semantics, precedence, limits, error conditions, and prerequisites thoroughly. It does not say what the call returns or whether relinking an unchanged target is a no-op, which is the main remaining gap.

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 the baseline is 3, and the description genuinely adds meaning: 'Pass neither target to clear it' explains the joint optionality of featureId and area that the schema only hints at with 'Leave out with featureId'. The key parameter's dotted-prefix resolution behavior is also clarified beyond the schema's example string.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opening sentence gives a specific verb and resource — pointing a feature key such as "search" or "chat.answers" at a feature or an area. It is unambiguous about the operation, though it never names a contrasting sibling (e.g. get_feature) to help the agent pick this over a read-only lookup.

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?

It covers the key usage cases well: clearing by passing neither target, the fact that clearing restores automatic matching, and the alternative behavior of longest-prefix resolution for unlinked dotted keys. It also states a prerequisite (ENGINEER+) and a capacity constraint, but stops short of explicitly pointing to any sibling tool.

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