Skip to main content
Glama

Add a link

add_link

Add a link button to the page. Optionally schedule it (it shows only between startsAt and endsAt) or put it in the spotlight.

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": {
      "title": "<title>",
      "url": "<url>"
    },
    "name": "add_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesA web address (https://…), a bare domain, or an email address.
titleYes
endsAtNoWhen it stops showing, ISO 8601 with a time zone, e.g. 2026-12-01T18:00:00-08:00. Ask the user's time zone if unsure. null clears it.
positionNoWhere to add it: "top" (default) or "bottom".top
startsAtNoWhen it starts showing, ISO 8601 with a time zone, e.g. 2026-12-01T18:00:00-08:00. Ask the user's time zone if unsure. null clears it.
spotlightNoPut it in the spotlight: shown first on the page, highlighted. Only one block has it; this takes it from any other.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / endsAt
      Added value: +{
      +  "description": "When it stops showing, ISO 8601 with a time zone, e.g. 2026-12-01T18:00:00-08:00. Ask the user's time zone if unsure. null clears it.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedInput schema / properties / spotlight
      Added value: +{
      +  "description": "Put it in the spotlight: shown first on the page, highlighted. Only one block has it; this takes it from any other.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / startsAt
      Added value: +{
      +  "description": "When it starts showing, ISO 8601 with a time zone, e.g. 2026-12-01T18:00:00-08:00. Ask the user's time zone if unsure. null clears it.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
  2. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare this is a non-read-only, non-destructive, non-idempotent write. The description adds the useful behavioral detail that a scheduled link only shows between startsAt and endsAt, but it omits other mutation consequences such as duplicate handling or whether the spotlight transfer is reversible; the exclusivity note about spotlight lives in the schema, not the description.

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?

Two short sentences with the core action front-loaded and the optional capabilities following. There is no filler, though the parenthetical restates the scheduling parameters rather than adding to them.

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 six-parameter creation tool with annotations covering the safety profile and no output schema, the description is sufficient to call correctly: it states the action and the two optional behaviors. Minor gaps remain around duplicate links and page ownership requirements, but nothing essential is missing.

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 83%, so the schema already documents url, title, position, startsAt, endsAt, and spotlight with format examples. The description references scheduling and spotlight but adds no syntax, validation, or interaction detail beyond what the schema already provides; 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?

The description names a specific verb and resource ("Add a link button to the page") and implies the block-creation family it belongs to. It does not explicitly distinguish itself from siblings like add_social or add_embed, which also create page blocks, so an agent must infer the difference from the tool name alone.

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 description mentions two optional modes (scheduling and spotlight) but never states when an agent should choose add_link over add_social, add_embed, or update_block. Usage is implied by the object being added rather than by explicit routing guidance.

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