Skip to main content
Glama

x402_shortlink_get_v1_shorten

Shorten long URLs into compact is.gd links for messages and logs; use it when an agent needs a shareable, space-saving URL before posting or recording.

Instructions

shortlink — URL shortener (is.gd). Use when an agent needs to shorten a long URL for messages or logs. [GET /v1/shorten] $0.005 USDC on eip155:8453+137+42161+480. Example: /v1/shorten?url=https%3A%2F%2Fexample.com%2Fvery%2Flong%2Fpath

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "x402_shortlink_get_v1_shorten"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNoJSON body for POST/PUT/PATCH/DELETE
queryNoQuery parameters, e.g. {base:'USD', quote:'EUR'}
restartNoExplicitly re-run a previously failed/unknown operation. Never set for unknown outcomes unless you know the paid call did not complete.
operationIdNoDurable operation id for this intent. Supply a stable id (e.g. your job/run id) to dedupe retries; omit to derive one from the arguments.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations at all, the description carries the full burden and does disclose the material behavioral facts: this is a paid call at $0.005 USDC on four named chains, it is a GET endpoint, and an example invocation is shown. What it omits is the return shape (the shortened string) and failure/error behavior, which matters since there is no output schema.

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?

Everything is front-loaded in two dense sentences: identity/provider, use case, endpoint, price, chains, and a worked example. The chain-id list ('eip155:8453+137+42161+480') is opaque without interpretation, which is the only wording that does not fully earn its place.

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?

For a single-purpose shortener this covers the essentials: what it does, when to call it, its cost and payment rails, the endpoint, and an example of the real parameter. The main gap is the absence of any statement about what comes back, which is the one thing an agent must know since no output schema exists.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is nominally 100%, but the schema is a generic envelope (body/query/restart/operationId) that never names the actual business parameter. The description's example ('?url=https%3A%2F%2Fexample.com%2F...') is what reveals that a 'url' value goes in the query object, adding real meaning beyond the schema.

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

Purpose5/5

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

States a specific verb+resource ('URL shortener') and names the upstream provider (is.gd), plus a concrete endpoint (GET /v1/shorten). An agent can immediately tell this shortens URLs versus any of the unrelated data-fetch siblings in the catalog.

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 when an agent needs to shorten a long URL for messages or logs' gives a clear positive trigger condition. It stops short of saying when not to use it or naming an alternative shortener, but no sibling appears to overlap, so the guidance is sufficient for selection.

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

Deploy Server

Other Tools