Skip to main content
Glama

Create a short link

dub_create_link
Destructive

Create a short link. Omit key to let Dub generate one. Dub: POST /links.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keyNoThe short key. Omit for a random one.
urlYesThe destination URL.
titleNoCustom link preview title.
domainNoShort domain to create it on. Defaults to the workspace default.
commentsNoAn internal note.
folderIdNoFolder to file it under.
tagNamesNoTags to attach, by name.
externalIdNoYour own id for this link.
descriptionNoCustom link preview description.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior2/5

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

Annotations supply destructiveHint=true, so the safety profile is partly covered by structured data. The description adds only the API endpoint mapping ("Dub: POST /links"), which is developer trivia rather than agent-relevant behavior; it says nothing about what happens on key collisions (Dub upserts), permissions, rate limits, or side effects.

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?

Three short, front-loaded sentences with no padding; the essential creation semantics come first. The trailing "Dub: POST /links." is arguably noise for an agent but is brief enough not to bloat the definition.

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 simple one-required-parameter create, the definition is minimally viable and the schema carries parameter detail well. However there is no output schema and the description omits the return shape/ID, error semantics, and the upsert-on-existing-key behavior — gaps an agent would hit in practice.

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% and every one of the nine parameters is documented inline. The description's single parameter note about `key` merely restates the schema's own text ("Omit for a random one"), so it adds no meaning beyond structured data — the baseline 3 applies.

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 description states a specific verb and resource ("Create a short link") and the parameter hint about `key` confirms the creation semantics. It is trivially distinguishable from dub_update_link, dub_get_link and dub_list_links by name, though it never explicitly contrasts itself with any sibling.

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

Usage Guidelines2/5

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

The only guidance is parameter-level ("Omit `key` to let Dub generate one"), which is a value choice, not a when-to-use instruction. There is no statement of when to prefer this over dub_update_link, nor any prerequisites such as required scopes or workspace context.

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.