Skip to main content
Glama

Bulk Shorten URLs

bulk_shorten

Shorten up to 1,000 URLs in one call (Automation plan). Returns one result per input, in order.

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": {
      "links": "<links>"
    },
    "name": "bulk_shorten"
  }
}

Input Schema

NameRequiredDescriptionDefault
linksYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations declare a non-destructive, non-read-only, closed-world write, and the description adds genuinely new context: the plan gate (Automation), the 1,000-item cap, and an ordered one-result-per-input return contract. It omits the behavior that matters most for bulk writes — what happens when some links fail (partial success vs. whole-call rollback) and whether re-running is idempotent.

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?

Two short sentences, front-loaded with the batch scope and cap, with zero filler. The plan qualifier and the return-shape guarantee each carry distinct information.

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 bulk write with no output schema, the description covers eligibility, limits, and result cardinality/ordering, which is a reasonable core. It falls short on failure semantics and atomicity — the questions an agent most needs answered before sending 1,000 links in a single call.

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?

The description adds nothing about the per-link fields; the only semantic addition is the 1,000 cap, which mirrors maxItems in the schema. The schema itself does document url, alias, domain, expires_in, and redirect_type in detail (only title is bare), so the practical gap is smaller than the reported 0% coverage suggests, but the description does not compensate for it.

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 ("Shorten ... URLs") plus the batch scope ("up to 1,000 URLs in one call"), which implicitly distinguishes it from the singular shorten_url sibling. It does not name that sibling explicitly, so the differentiation is inferred from the cardinality language rather than stated.

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?

Usage context is implied by "up to 1,000 URLs in one call" and the "(Automation plan)" eligibility note, so an agent can tell this is the batch path. There is no explicit when-not guidance (e.g. "use shorten_url for a single URL") and no note about whether URLs may be mixed across domains or aliases.

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