Skip to main content
Glama

search_links

Read-onlyIdempotent

Search for links by name, URL, or note. Returns matching links with click statistics.

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": {
      "query": "<query>"
    },
    "name": "search_links"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYesSearch query to match against link names, URLs, and notes

Output Schema

NameRequiredDescriptionDefault
resultsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / results / items / properties / metadata
      Added value: +{
      +  "additionalProperties": true,
      +  "description": "Your own key-value data attached to the link (string keys and values)",
      +  "type": [
      +    "object",
      +    "null"
      +  ]
      +}
  2. Changed1 schema field changed
    • removedOutput schema / required
      Removed value: -[
      -  "results"
      -]
  3. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "results": {
      +      "items": {
      +        "additionalProperties": true,
      +        "description": "A Linkly link (mirrors the OpenAPI Link schema)",
      +        "properties": {
      +          "block_bots": {
      +            "type": [
      +              "boolean",
      +              "null"
      +            ]
      +          },
      +          "body_tags": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "cloaking": {
      +            "type": [
      +              "boolean",
      +              "null"
      +            ]
      +          },
      +          "created_by_user_id": {
      +            "type": [
      +              "integer",
      +              "null"
      +            ]
      +          },
      +          "deleted": {
      +            "type": [
      +              "boolean",
      +              "null"
      +            ]
      +          },
      +          "domain": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "enabled": {
      +            "type": [
      +              "boolean",
      +              "null"
      +            ]
      +          },
      +          "expiry_clicks": {
      +            "type": [
      +              "integer",
      +              "null"
      +            ]
      +          },
      +          "expiry_datetime": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "expiry_destination": {
      +            "format": "uri",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "fb_pixel_id": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "forward_params": {
      +            "type": [
      +              "boolean",
      +              "null"
      +            ]
      +          },
      +          "full_url": {
      +            "description": "Full short-link URL",
      +            "format": "uri",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "ga4_tag_id": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "gtm_id": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "head_tags": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "hide_referrer": {
      +            "type": [
      +              "boolean",
      +              "null"
      +            ]
      +          },
      +          "id": {
      +            "description": "Link ID",
      +            "type": [
      +              "integer",
      +              "null"
      +            ]
      +          },
      +          "linkedin_partner_id": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "linkify_words": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "microsoft_uet_tag_id": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "name": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "note": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "notify_slack": {
      +            "type": [
      +              "boolean",
      +              "null"
      +            ]
      +          },
      +          "notify_user_ids": {
      +            "items": {
      +              "type": "integer"
      +            },
      +            "type": [
      +              "array",
      +              "null"
      +            ]
      +          },
      +          "og_description": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "og_image": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "og_title": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "password": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "pinterest_tag_id": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "public_analytics": {
      +            "type": [
      +              "boolean",
      +              "null"
      +            ]
      +          },
      +          "qr_styles": {
      +            "additionalProperties": true,
      +            "type": [
      +              "object",
      +              "null"
      +            ]
      +          },
      +          "reddit_pixel_id": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "replacements": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "rules": {
      +            "items": {
      +              "additionalProperties": true,
      +              "properties": {
      +                "matches": {
      +                  "type": "string"
      +                },
      +                "percentage": {
      +                  "type": "string"
      +                },
      +                "rule_url": {
      +                  "type": "string"
      +                },
      +                "url": {
      +                  "type": "string"
      +                },
      +                "what": {
      +                  "type": "string"
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "type": [
      +              "array",
      +              "null"
      +            ]
      +          },
      +          "skip_social_crawler_tracking": {
      +            "type": [
      +              "boolean",
      +              "null"
      +            ]
      +          },
      +          "slug": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "snapchat_pixel_id": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "tiktok_pixel_id": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "twitter_pixel_id": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "url": {
      +            "description": "Destination URL",
      +            "format": "uri",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "utm_campaign": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "utm_content": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "utm_medium": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "utm_source": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "utm_term": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "webhooks": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": [
      +              "array",
      +              "null"
      +            ]
      +          },
      +          "workspace_id": {
      +            "type": [
      +              "integer",
      +              "null"
      +            ]
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "results"
      +  ],
      +  "type": "object"
      +}
  4. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so the safety profile is covered elsewhere. The description adds that results carry click statistics, a useful return hint, but says nothing about match semantics (substring vs exact, case sensitivity), result limits, or pagination.

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, zero filler, with the primary action front-loaded and the return information placed second. Nothing here is redundant or padded.

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?

An output schema exists, so the description need not detail return fields, and the tool is a simple one-parameter search. The main residual gap is matching behavior and result-set size, which an agent might need to interpret results 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?

With a single parameter and 100% schema description coverage, the schema already defines the query fully. The description's 'by name, URL, or note' merely restates what the schema says the query matches, adding no new syntax or format detail, so 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?

States a specific verb (search) and resource (links) plus the fields matched: name, URL, and note. It is clear what the tool does, though it never distinguishes itself from siblings like list_links or get_link, which an agent could plausibly pick instead.

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?

The word 'search' plus the enumeration of matchable fields implies you use this when you have a query string rather than an identifier. There is no explicit when-to-use or when-not-to-use guidance and no alternative tool is named, so routing against list_links or get_link is left to inference.

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.