Skip to main content
Glama

Update links

update_links
Idempotent

Replace the profile's whole links list (portfolio, LinkedIn, GitHub, …): existing links are deleted and the list given is saved, so pass every link to keep; an empty array clears the list. Saved links get new ids. A profile holds one link per title: a repeated title, in any case, is refused and nothing is saved. Read the current list with get_profile_section (section "links"). Returns the saved links array.

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>",
      "links": "<links>"
    },
    "name": "update_links"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesProfile id, from list_profiles.
linksYesThe complete new links list.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / links / items / properties / title / description
      Previous value: -"Link label, e.g. \"GitHub\"."New value: +"Link name, one of LinkedIn, GitHub, Portfolio, Twitter, Website, Blog, Dribbble, Behance, Other; each at most once."
  2. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Beyond the annotations it discloses the full write model: existing rows are deleted and recreated, saved links get new ids, an empty array clears the list, and a duplicate title (case-insensitive) causes the whole call to fail with nothing saved. One tension remains: the explicit data-loss warning is stronger than destructiveHint=false implies, so an agent that trusts only annotations could still lose links; the description corrects this rather than contradicting it outright.

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?

Roughly four sentences, front-loaded with the replace semantics and the data-loss consequence, then validation, then the read pointer and return value. No sentence is redundant or out of order.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description supplies the return value ("Returns the saved links array"), the failure mode (whole call refused, nothing saved), and the prerequisite read tool. For a two-parameter list-replacement tool this covers everything an agent needs to invoke it safely.

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 already 100%, so the baseline is 3; the description still adds meaning by specifying empty-array-clears behavior, case-insensitive title uniqueness, and that supplied ids are discarded in favor of new ones. It stops short of restating URL format rules, which the schema already handles.

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?

"Replace the profile's whole links list" names a specific verb (replace), the exact resource (the profile's links list), and the scope (whole list, not a single entry). The parenthetical examples of link kinds and the contrast with a per-item edit make it unambiguous against siblings like update_profile or update_profile_item.

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

Usage Guidelines4/5

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

It gives the key operational condition — pass every link you want to keep, since omitted ones are deleted — and points to get_profile_section with section "links" to read the current state first. It does not explicitly state when a caller should prefer a different mutation path, but the read-before-write guidance covers the main usage decision.

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