Skip to main content
Glama

Remove a Favorite

remove_favorite
Destructive

把某条收藏从收藏夹删除。需要收藏记录 id。本来就不存在也不会报错,返回 removed=false。

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

Input Schema

NameRequiredDescriptionDefault
idYes收藏记录 id(来自 list_favorites)

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?

The annotations already declare destructiveHint=true and openWorldHint=false, so safety is covered. The description adds genuinely non-redundant behavior: a missing record will not raise an error and the call returns removed=false, which tells the agent this is safe to retry and how to detect a no-op. It does not say whether the underlying post or collection is affected, but the core behavioral trait is disclosed.

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?

Three short sentences, front-loaded with the action, followed by the required input and the failure semantics; nothing is padded. The middle sentence slightly duplicates the schema's required field, a small redundancy.

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 one-parameter mutation with no output schema, the description covers the action, the required id, and the no-op return value, which is what an agent needs to call and interpret it. It could go further on side effects (whether the followed/favorited item itself changes), 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?

There is a single parameter with 100% schema description coverage; the schema already states that id is the favorite record id sourced from list_favorites. The description's '需要收藏记录 id' merely restates the required field, so the baseline of 3 is appropriate.

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?

The description gives a specific verb and resource: delete a favorite record from the favorites list. It is clearly distinguishable from its siblings add_favorite, update_favorite and list_favorites without opening any schema.

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 use case is implied (get rid of an existing favorite) but there is no explicit when-to-use guidance, no mention of the alternatives (update_favorite, list_favorites) and no prerequisites stated. The non-error behavior is stated, which hints at idempotent usage, but the agent must infer when to choose this tool over its siblings.

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.