Skip to main content
Glama

Dub MCP by usefulapi

Create a short link

dub_create_link
Destructive

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

Input 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. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observed

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already supply destructiveHint=true, and the description neither contradicts nor enriches that. It says nothing about permissions/scopes required, duplicate-key behavior, rate limits, or side effects, so for a 9-parameter mutation it adds almost no behavioral context.

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 sentences with the core purpose front-loaded. The trailing 'Dub: POST /links' is marginally useful endpoint metadata but is essentially internal implementation detail that an agent does not need.

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?

With nine parameters, one required, and no output schema, the description is thin: it does not say whether the created link object is returned or what happens on a key collision. The rich schema compensates for parameter documentation, keeping this at a minimum-viable level rather than inadequate.

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 the schema already documents all nine fields, establishing a baseline of 3. The description's note to omit `key` merely restates the schema's own 'Omit for a random one', adding no syntax, format, or constraint detail.

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 (Create) and resource (short link), matching the title exactly. It is distinguishable from dub_update_link and dub_delete_link by the verb, but it never explicitly contrasts with sibling operations such as dub_get_link or dub_list_links.

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?

There is no statement of when to use this tool versus alternatives, no prerequisites, and no conditions. The only guidance is a parameter hint about omitting `key`, which is usage of a field rather than usage of the 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.