Skip to main content
Glama
shlink-mcp

shlink-mcp

by si-essence

shlink_meta

Read-only

Checks Shlink health, retrieves Mercure settings, and returns parameter details for a chosen action via help.

Instructions

shlink_meta covers the meta toolset (2 operations). Calls go to SHLINK_URL. Authenticated routes send X-Api-Key. Health sends no key. The REST version is 3. action help with target returns one action's parameters. Actions: mercure, health.

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": {
      "action": "<action>"
    },
    "name": "shlink_meta"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNoJSON object or JSON array. Secrets are redacted in output.
queryNoQuery parameters, such as page, searchTerm, and domain.
actionYesShlink operation to call, or help.
paramsNoPath parameters, such as shortCode, tag, and domain.
targetNoWith action help, the action whose parameters to describe.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, and the description adds real context beyond that: calls go to SHLINK_URL, authenticated routes require X-Api-Key while health sends none, and the REST version is 3. That auth-per-route distinction is exactly the kind of behavioral detail annotations cannot express. It stops short of describing response shape or what a health/mercure call actually returns.

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?

Five short sentences with no filler, opening with scope and then endpoint and auth. The telegraphic style ("The REST version is 3.") is slightly choppy, but every sentence carries information an agent needs.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a no-output-schema dispatcher, the description covers transport and auth well and points to the help action for discovery. However, it never characterizes what mercure or health produce, so an agent cannot tell whether these are simple status reads or streaming/hub operations without an extra help round-trip.

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 coverage is 100%, so the schema already documents action, target, body, query, and params, including the help/target relationship. The description's note about help plus target largely restates the schema's own target description, so it adds little beyond the baseline.

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

Purpose3/5

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

The description frames the tool as covering the "meta toolset (2 operations)" and names the actions (mercure, health), so the scope is identifiable, but it never says what either operation does — no verb or outcome for mercure or health. An agent knows it is a dispatcher for non-resource operations but must call help or guess to learn their function.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It explains the discovery path clearly ("action help with target returns one action's parameters"), which is genuine when-to-use guidance for a dispatcher. It gives no guidance on when to pick health versus mercure, and no comparison to the sibling resource tools, so the choice among actions is left to inference.

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