Skip to main content
Glama

List Links

list_links
Read-onlyIdempotent

List your shortened links with click counts and destinations. Supports sorting by creation date, clicks, or slug across the full dataset.

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": "list_links"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoResults per page, 1-50 (default 10)
offsetNoPagination offset (default 0)
sort_byNoSort field: "created" (default), "clicks", or "short"
sort_dirNoSort direction: "desc" (default) or "asc"

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already state that the tool is read-only, idempotent, non-destructive, and closed-world, so the safety profile is covered. The description adds that results include click counts and destinations and that sorting applies across the full dataset, which is useful behavioral context, but it does not discuss pagination behavior, default result size, or response structure.

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?

The description is two compact sentences with no wasted wording. The core purpose is front-loaded, and the sorting capability follows naturally.

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 simple paginated list tool with full parameter schema coverage and clear read-only annotations, the description is largely complete. It could be stronger by clarifying its relationship to list_agentlink_links or by noting that limit and offset govern pagination, but the agent has enough information to call it correctly.

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 limit, offset, sort_by, and sort_dir in detail. The description restates the sortable fields but does not add meaning beyond the schema, such as sort stability, accepted date formats, or interaction between sorting and pagination.

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 gives a specific verb and resource: listing shortened links, and adds useful scope about click counts and destinations. It distinguishes itself from get_link by being a list operation, but it does not explicitly name or differentiate itself from the closely related list_agentlink_links sibling.

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 is implied by 'List your shortened links' and the sorting options, which suggests it is for browsing the full link collection. However, the description provides no explicit when-to-use guidance, no exclusions, and no routing to alternatives such as get_link for a single link or list_agentlink_links for a different link set.

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