Skip to main content
Glama

remove_favorite

Removes a page, space, or template from the authenticated user's favorites by type and ID, so users can unfavorite saved Docmost content.

Instructions

Remove a page, space or template from 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": "remove_favorite"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
typeYespage, space or template

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

The single annotation (destructiveHint=false) already tells the agent this removal is non-destructive, and the description does not contradict that. The description adds the useful scope detail that only the authenticated user's favorites are affected, but says nothing about idempotency, permission requirements, or whether an unfavorited target produces an error.

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 the verb, the resource, and the scoping constraint in that order. No filler, no repetition of schema detail beyond what is needed to identify the entity kinds.

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 simple two-parameter tool with no output schema and one annotation, the definition covers the essential question of what is removed and from where. The remaining gaps — id format and behavior on a non-favorited target — are minor for an operation of this simplicity.

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 50%: the 'type' enum is already documented in the schema, and the description merely restates those three values. The 'id' parameter is undocumented in both schema and description, so the agent gets no hint about what identifier form is expected for a page versus a space versus a template.

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?

States a specific verb ('Remove') plus the resource ('a page, space or template') and the scope ('from the authenticated user's favorites'), so an agent knows exactly which entity is affected and whose favorites list changes. It stops short of naming the sibling add_favorite as its inverse, so it is clear but not sibling-differentiated.

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: the description establishes that the target is the authenticated user's own favorites, which tells the agent this is a personal-preference change rather than a global delete. It gives no explicit when-to-use, no mention of add_favorite as the alternative, and no statement about what happens if the item is not currently favorited.

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