Skip to main content
Glama

Disable or enable a link

set_link_status

Disable a link (visitors get the domain’s disabled page; its history stays) or enable it again.

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": {
      "id": "<id>",
      "action": "<action>"
    },
    "name": "set_link_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe link’s id.
actionYesWhat to do.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose meaningful consequences: on DISABLE visitors receive the domain's disabled page while history is preserved, and ENABLE restores the link. That reversibility and non-destructive behavior are exactly what an agent needs to decide safely. Gaps remain on permissions required and what happens with an invalid or already-disabled id.

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?

A single, front-loaded sentence with a parenthetical that adds useful consequence detail without padding. Nothing here is wasted or restated from the title.

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 two-parameter toggle with no output schema and no annotations, the description covers the essentials: both actions, their effects, and reversibility. It is nearly complete, missing only error/edge-case behavior and any permission notes.

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 100%, so the baseline is 3, but the description earns a bump by giving real-world meaning to the action enum values: DISABLE means visitors hit the domain's disabled page while history survives, and ENABLE reverses it. This goes beyond the schema's terse 'What to do.'

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 pair (disable/enable) and an unambiguous resource (a link), so an agent immediately knows this is a status toggle rather than a general edit. It does not explicitly say how this differs from update_link, which could plausibly also mutate link state, so sibling differentiation is implied rather than stated.

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 two supported actions are spelled out, implying when to reach for this tool, but there is no explicit 'use this instead of update_link when...' routing. An agent must infer the boundary between toggling status and performing a general update from names alone.

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