Skip to main content
Glama

Inspect short link · 查询本站短链(短.在线)

resolve_short_url
Read-onlyIdempotent

查询本站短码或本站短链的已保存状态;仅 active 时返回目标地址。无需账号。不查询其他短链服务;结果不是安全结论。 Look up a 短.在线 code or short URL. Returns saved state, and the destination only when active. No account required. Does not look up other shorteners. Not a security verdict.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "url": "https://xn--s7y.xn--3ds443g/example"
    },
    "name": "resolve_short_url"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoNot with code.
codeNoNot with url.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / oneOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "created_at": {
      -        "type": "string"
      -      },
      -      "destination": {
      -        "type": "string"
      -      },
      -      "id": {
      -        "type": "string"
      -      },
      -      "ok": {
      -        "const": true,
      -        "type": "boolean"
      -      },
      -      "request_id": {
      -        "type": "string"
      -      },
      -      "short_url": {
      -        "type": "string"
      -      },
      -      "short_url_ascii": {
      -        "type": "string"
      -      },
      -      "state": {
      -        "const": "active",
      -        "type": "string"
      -      },
      -      "status_url": {
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "ok",
      -      "request_id",
      -      "id",
      -      "state",
      -      "created_at",
      -      "status_url",
      -      "short_url",
      -      "short_url_ascii",
      -      "destination"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "code": {
      -        "type": "string"
      -      },
      -      "created_at": {
      -        "type": "string"
      -      },
      -      "expired_at": {
      -        "type": "string"
      -      },
      -      "id": {
      -        "type": "string"
      -      },
      -      "ok": {
      -        "const": true,
      -        "type": "boolean"
      -      },
      -      "request_id": {
      -        "type": "string"
      -      },
      -      "state": {
      -        "enum": [
      -          "quarantined",
      -          "disabled",
      -          "blocked",
      -          "expired"
      -        ],
      -        "type": "string"
      -      },
      -      "status_url": {
      -        "type": "string"
      -      },
      -      "title": {
      -        "type": "string"
      -      },
      -      "type": {
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "ok",
      -      "request_id",
      -      "id",
      -      "state",
      -      "created_at",
      -      "status_url",
      -      "type",
      -      "title",
      -      "code"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "code": {
      -        "type": "string"
      -      },
      -      "error": {
      -        "type": "string"
      -      },
      -      "message": {
      -        "type": "string"
      -      },
      -      "ok": {
      -        "const": false,
      -        "type": "boolean"
      -      },
      -      "request_id": {
      -        "type": "string"
      -      },
      -      "retryable": {
      -        "type": "boolean"
      -      },
      -      "title": {
      -        "type": "string"
      -      },
      -      "type": {
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "ok",
      -      "request_id",
      -      "error",
      -      "code",
      -      "message",
      -      "type",
      -      "title",
      -      "retryable"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "created_at": {
      +        "type": "string"
      +      },
      +      "destination": {
      +        "type": "string"
      +      },
      +      "id": {
      +        "type": "string"
      +      },
      +      "ok": {
      +        "const": true,
      +        "type": "boolean"
      +      },
      +      "request_id": {
      +        "type": "string"
      +      },
      +      "short_url": {
      +        "type": "string"
      +      },
      +      "short_url_ascii": {
      +        "type": "string"
      +      },
      +      "state": {
      +        "const": "active",
      +        "type": "string"
      +      },
      +      "status_url": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "ok",
      +      "request_id",
      +      "id",
      +      "state",
      +      "created_at",
      +      "status_url",
      +      "short_url",
      +      "short_url_ascii",
      +      "destination"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "code": {
      +        "type": "string"
      +      },
      +      "created_at": {
      +        "type": "string"
      +      },
      +      "expired_at": {
      +        "type": "string"
      +      },
      +      "id": {
      +        "type": "string"
      +      },
      +      "ok": {
      +        "const": true,
      +        "type": "boolean"
      +      },
      +      "request_id": {
      +        "type": "string"
      +      },
      +      "state": {
      +        "enum": [
      +          "quarantined",
      +          "disabled",
      +          "blocked",
      +          "expired"
      +        ],
      +        "type": "string"
      +      },
      +      "status_url": {
      +        "type": "string"
      +      },
      +      "title": {
      +        "type": "string"
      +      },
      +      "type": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "ok",
      +      "request_id",
      +      "id",
      +      "state",
      +      "created_at",
      +      "status_url",
      +      "type",
      +      "title",
      +      "code"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "code": {
      +        "type": "string"
      +      },
      +      "error": {
      +        "type": "string"
      +      },
      +      "message": {
      +        "type": "string"
      +      },
      +      "ok": {
      +        "const": false,
      +        "type": "boolean"
      +      },
      +      "request_id": {
      +        "type": "string"
      +      },
      +      "retry_after": {
      +        "exclusiveMinimum": 0,
      +        "maximum": 9007199254740991,
      +        "type": "integer"
      +      },
      +      "retryable": {
      +        "type": "boolean"
      +      },
      +      "title": {
      +        "type": "string"
      +      },
      +      "type": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "ok",
      +      "request_id",
      +      "error",
      +      "code",
      +      "message",
      +      "type",
      +      "title",
      +      "retryable"
      +    ],
      +    "type": "object"
      +  }
      +]
  2. Changed2 schema fields changed
    • changedInput schema / properties / code / description
      Previous value: -"Short code. Mutually exclusive with url."New value: +"Not with url."
    • changedInput schema / properties / url / description
      Previous value: -"Full short URL (Unicode or punycode). Mutually exclusive with code."New value: +"Not with code."
  3. Changed4 schema fields changed
    • removedOutput schema / additionalProperties
      Removed value: -false
    • addedOutput schema / oneOf
      Added value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "created_at": {
      +        "type": "string"
      +      },
      +      "destination": {
      +        "type": "string"
      +      },
      +      "id": {
      +        "type": "string"
      +      },
      +      "ok": {
      +        "const": true,
      +        "type": "boolean"
      +      },
      +      "request_id": {
      +        "type": "string"
      +      },
      +      "short_url": {
      +        "type": "string"
      +      },
      +      "short_url_ascii": {
      +        "type": "string"
      +      },
      +      "state": {
      +        "const": "active",
      +        "type": "string"
      +      },
      +      "status_url": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "ok",
      +      "request_id",
      +      "id",
      +      "state",
      +      "created_at",
      +      "status_url",
      +      "short_url",
      +      "short_url_ascii",
      +      "destination"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "code": {
      +        "type": "string"
      +      },
      +      "created_at": {
      +        "type": "string"
      +      },
      +      "expired_at": {
      +        "type": "string"
      +      },
      +      "id": {
      +        "type": "string"
      +      },
      +      "ok": {
      +        "const": true,
      +        "type": "boolean"
      +      },
      +      "request_id": {
      +        "type": "string"
      +      },
      +      "state": {
      +        "enum": [
      +          "quarantined",
      +          "disabled",
      +          "blocked",
      +          "expired"
      +        ],
      +        "type": "string"
      +      },
      +      "status_url": {
      +        "type": "string"
      +      },
      +      "title": {
      +        "type": "string"
      +      },
      +      "type": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "ok",
      +      "request_id",
      +      "id",
      +      "state",
      +      "created_at",
      +      "status_url",
      +      "type",
      +      "title",
      +      "code"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "code": {
      +        "type": "string"
      +      },
      +      "error": {
      +        "type": "string"
      +      },
      +      "message": {
      +        "type": "string"
      +      },
      +      "ok": {
      +        "const": false,
      +        "type": "boolean"
      +      },
      +      "request_id": {
      +        "type": "string"
      +      },
      +      "retryable": {
      +        "type": "boolean"
      +      },
      +      "title": {
      +        "type": "string"
      +      },
      +      "type": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "ok",
      +      "request_id",
      +      "error",
      +      "code",
      +      "message",
      +      "type",
      +      "title",
      +      "retryable"
      +    ],
      +    "type": "object"
      +  }
      +]
    • removedOutput schema / properties
      Removed value: -{
      -  "code": {
      -    "type": "string"
      -  },
      -  "created_at": {
      -    "type": "string"
      -  },
      -  "destination": {
      -    "type": "string"
      -  },
      -  "error": {
      -    "type": "string"
      -  },
      -  "id": {
      -    "type": "string"
      -  },
      -  "message": {
      -    "type": "string"
      -  },
      -  "ok": {
      -    "type": "boolean"
      -  },
      -  "request_id": {
      -    "type": "string"
      -  },
      -  "retryable": {
      -    "type": "boolean"
      -  },
      -  "short_url": {
      -    "type": "string"
      -  },
      -  "short_url_ascii": {
      -    "type": "string"
      -  },
      -  "state": {
      -    "type": "string"
      -  },
      -  "status_url": {
      -    "type": "string"
      -  },
      -  "title": {
      -    "type": "string"
      -  },
      -  "type": {
      -    "type": "string"
      -  }
      -}
    • removedOutput schema / required
      Removed value: -[
      -  "ok",
      -  "request_id"
      -]
  4. Changed3 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +{}
    • removedInput schema / oneOf
      Removed value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "url": {
      -        "description": "Full short URL (Unicode or punycode). Mutually exclusive with code.",
      -        "maxLength": 2048,
      -        "minLength": 1,
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "url"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "code": {
      -        "description": "Short code. Mutually exclusive with url.",
      -        "maxLength": 64,
      -        "minLength": 1,
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "code"
      -    ],
      -    "type": "object"
      -  }
      -]
    • addedInput schema / properties
      Added value: +{
      +  "code": {
      +    "description": "Short code. Mutually exclusive with url.",
      +    "maxLength": 64,
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  "url": {
      +    "description": "Full short URL (Unicode or punycode). Mutually exclusive with code.",
      +    "maxLength": 2048,
      +    "minLength": 1,
      +    "type": "string"
      +  }
      +}
  5. Changed3 schema fields changed
    • changedInput schema / examples
      Previous value: -[
      -  {
      -    "url": "https://example.com/example"
      -  },
      -  {
      -    "code": "example"
      -  }
      -]New value: +[
      +  {
      +    "url": "https://xn--s7y.xn--3ds443g/example"
      +  },
      +  {
      +    "code": "example"
      +  }
      +]
    • addedInput schema / oneOf
      Added value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "url": {
      +        "description": "Full short URL (Unicode or punycode). Mutually exclusive with code.",
      +        "maxLength": 2048,
      +        "minLength": 1,
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "url"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "code": {
      +        "description": "Short code. Mutually exclusive with url.",
      +        "maxLength": 64,
      +        "minLength": 1,
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "code"
      +    ],
      +    "type": "object"
      +  }
      +]
    • removedInput schema / properties
      Removed value: -{
      -  "code": {
      -    "description": "Short code if URL not provided",
      -    "maxLength": 64,
      -    "minLength": 1,
      -    "type": "string"
      -  },
      -  "url": {
      -    "description": "Full short URL (Unicode or punycode)",
      -    "maxLength": 2048,
      -    "minLength": 1,
      -    "type": "string"
      -  }
      -}
  6. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "url": "https://example.com/example"
      +  },
      +  {
      +    "code": "example"
      +  }
      +]
  7. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, yet the description adds real behavioral context beyond them: the destination is returned only when the link is active, otherwise only the saved state, and the result is not a security verdict. It does not enumerate the possible non-active states, which is the only material omission.

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?

Each language block is front-loaded and waste-free, putting the what and the scope bound first. The full Chinese/English duplication roughly doubles the text for the same content, which is a minor but real redundancy cost.

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?

With an output schema present, return shape needn't be described, and the description covers scope, auth requirement, active-only destination behavior, and a misuse caveat. Enough for a two-parameter read tool; only the sibling-routing gap keeps it from full marks.

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 coverage is 100% and the schema already documents the url/code mutual exclusion via 'Not with code.' and 'Not with url.', so the description adds nothing about parameter behavior. Baseline 3 applies since the schema carries the full burden.

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 and resource — look up a 短.在线 code or short URL and return its saved state — and bounds the scope to this site's own short links, so an agent can distinguish it from a general URL resolver or shortener without opening the schema.

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?

Provides one explicit exclusion (does not look up other shorteners) and one prerequisite (no account required), which is genuine when-not guidance. However, it never says how this differs from the sibling get_link or shorten_url, so choosing between same-site lookup tools 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.

Resources