Skip to main content
Glama

Set a custom quest link

set_custom_link
Idempotent

Quest+ only: give the quest a readable link, e.g. slug "anna-30" → playUrl …/q/anna-30 (lower-case letters, digits, hyphens; 3–40 characters). slug null removes it. The original link keeps working. Fails with link_taken if someone has it.

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": {
      "quest_id": "<quest_id>",
      "slug": "<slug>"
    },
    "name": "set_custom_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugYes
quest_idYes
edit_tokenNoOnly for quests not created with this owner key (the part after # in an editUrl)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Adds real behavior beyond the annotations: the link_taken failure mode, the fact that the original link keeps working after the change, and the plan requirement. Annotations already cover idempotency and non-destructiveness, so this is useful supplementary context rather than the whole burden.

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?

Dense and front-loaded: plan gate first, meaning and example next, edge cases (null removal, link preservation, error) last. Slightly telegraphic sentence fragments, but nothing is wasted.

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 three-parameter mutation with no output schema, it covers the prerequisite, the value format, the removal path, the failure mode, and the side effect on the old link. Only the return payload is unaddressed, which is acceptable without an output schema.

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 only 33%, and the description compensates by fully specifying the slug grammar (lower-case letters, digits, hyphens; 3–40 characters) and the null sentinel for removal — none of which appears in the schema's bare string|null type. quest_id is self-evident by name and edit_token is documented in the schema.

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?

States a specific verb+resource ('give the quest a readable link') and immediately shows the concrete transformation with an example (slug "anna-30" → playUrl …/q/anna-30). This is unmistakably distinct from siblings like update_quest or share_quest.

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?

Provides a clear gate ('Quest+ only') and covers the removal case ('slug null removes it'), which tells the agent this same tool is used for both setting and clearing. It does not name an alternative tool such as update_quest for quests without Quest+, so the exclusion path is only implied.

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