Skip to main content
Glama

Поправить короткую ссылку

update_short_link
DestructiveIdempotent

Поменять, куда ведёт ссылка (url), её название (title) или убрать в архив (archived=true, вернуть: false). Короткий адрес не меняется: новый url сразу получат все, кто нажмёт ссылку под роликами, в письмах и в рекламе, поэтому сначала прочитайте ссылку (list_short_links) и убедитесь, что меняете ту. Ссылку в бота url переводит на адрес. Архивная ссылка продолжает вести людей, она только уходит из списка. Например: {"url": "https://it-ontime.ru/mikrotik-2026"}. Удаления нет: ссылка с переходами хранит историю.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlNo
titleNo
link_idYes
archivedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true, and idempotentHint=true, so the safety profile is partly covered. The description still adds substantive context: the new URL propagates immediately to everyone clicking the link, archiving does not break the link (it only removes it from the list), and history is never deleted. It does not clarify permission requirements or what the response returns, hence a 4 rather than 5.

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?

Front-loaded with the mutability scope, followed by prerequisites, side effects, and an example, with no filler sentences. Slightly dense with multiple clauses about bot links and archival that could be trimmed, but every sentence carries operational meaning.

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 4-parameter mutation tool with no output schema, the description covers what changes, propagation effects, archival behavior, revert path, and absence of deletion. The only real gap is explicit identification/format of link_id and the exact response shape, both minor here.

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 description coverage is 0%, so the description must carry parameter meaning, and it does explain url, title, and archived=false (restore) semantics in prose, plus a concrete JSON example for url. link_id is only implied via the 'make sure it's the right link' instruction rather than described, keeping it just short of 5.

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?

The description names a specific verb+resource (change url/title/archive state of a short link) and enumerates exactly which fields are mutable, plus states the immutability of the short address itself. An agent can distinguish this from create_short_link, list_short_links, and get_link_stats without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It explicitly tells the agent to read the link first via list_short_links and verify it is the right one before mutating, and explains when the archive flag should be used (and how to revert it with false). It also rules out an expected alternative by stating there is no delete operation.

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