Skip to main content
Glama

add_favorite

Add a page, space, or template to the authenticated user's favorites by specifying its type and ID.

Instructions

Add a page, space or template to the authenticated user's favorites.

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": {
      "type": "<type>",
      "id": "<id>"
    },
    "name": "add_favorite"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesPage UUID or slugId, space UUID or slug, or template UUID
typeYespage, space or template

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations only declare destructiveHint=false, so the description supplies the meaningful extra context that favorites are tied to the authenticated user. It does not disclose what happens when the item is already favorited (idempotent vs. error), whether the caller needs access to the entity, or what the response contains — gaps that matter for a mutation tool with thin annotations.

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?

A single front-loaded sentence with the verb, the resource, and the user scope — no filler or preamble. The only slight redundancy is repeating the page/space/template enum values already present in the schema.

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

Completeness3/5

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

For a two-parameter tool with fully documented schema, the definition covers purpose adequately, but it omits the two things an agent would still need to know: whether repeat calls are safe (already-favorited behavior) and how to confirm or undo the action via list_favorites/remove_favorite. No output schema exists, so some note on the result would have been valuable.

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%: the id parameter documents accepted forms (page UUID/slugId, space UUID/slug, template UUID) and type has an enum with descriptions. The description merely restates the same three type values ('page, space or template') and adds no meaning beyond the schema, so the 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 states a specific verb and resource ('Add ... to favorites') and scopes it to 'the authenticated user's favorites', which clarifies that this is a personal, per-user action rather than a workspace-wide one. It is clearly distinct from add_page_labels or create_page, though it never names remove_favorite, so the add/remove pairing is inferred from the verb 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?

Usage is only implied: an agent can infer this is the tool for favoriting an existing page, space, or template, but the description offers no when-to-use condition, no prerequisites (e.g., whether the entity must already exist or be visible to the user), and no pointer to remove_favorite or list_favorites for the inverse or verification case.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.