Skip to main content
Glama

QRStuff MCP Server

Create link page short link

create_link_page_short_link
Idempotent

Use this when the user wants a short link for a published landing page. Creates it, or returns the existing one; optional custom ending. The page must be published first.

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": {
      "page_id": "<page_id>"
    },
    "name": "create_link_page_short_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugNoOptional custom ending, letters, numbers and hyphens, for example spring-sale. Leave empty for an automatic one.
page_idYesLanding page ID from `list_link_pages`. Never guess an ID.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare idempotentHint=true and destructiveHint=false, and the description usefully corroborates that with 'Creates it, or returns the existing one' — the agent now knows a repeat call will not error or duplicate. 'The page must be published first' is a real constraint absent from the annotations. It does not address what happens if a custom slug is already taken, which is the main unresolved behavioral question.

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?

Three short sentences, front-loaded with the triggering condition, then the create-or-return behavior, then the precondition. No filler and no restatement of the title.

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 an output schema present and full annotation coverage, the description only needs to supply the when-to-use and the precondition, and it does both. The remaining gap is conflict behavior when a requested custom ending already exists, which the agent cannot determine from any structured field.

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 100%, so both parameters are already documented, including the slug format example 'spring-sale' and the 'Never guess an ID' warning on page_id. The description's 'optional custom ending' merely restates the slug field at a lower resolution than the schema. Baseline 3 is correct.

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?

States a specific verb and resource — creating a short link scoped to a published landing page — which separates it from the generic create_short_link and from create_link_page itself. It never names the sibling it is not, so an agent must infer the boundary from 'published landing page' rather than being told.

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?

'Use this when the user wants a short link for a published landing page' gives a clear triggering condition, and 'The page must be published first' states a hard precondition. It stops short of explicit exclusions — it does not say to use create_short_link for non-link-page URLs — so the alternative path is only implied by the scoping phrase.

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