Skip to main content
Glama

Toggle favorite

zoodex_toggle_favorite

Add or remove a vendor by slug or product by ID from favorites, letting users mark items as favorites or clear them.

Instructions

Add or remove a vendor (by slug) or product (by id) from favorites.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "zoodex_toggle_favorite"
  }
}

Input Schema

NameRequiredDescriptionDefault
product_idNo
vendor_slugNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

The mutation implied by 'add or remove' matches readOnlyHint=false and destructiveHint=false, so nothing contradicts the annotations. However, the description omits what matters most for a toggle: whether the call is idempotent, whether it returns the resulting state, whether authentication is required, and what happens when neither selector is supplied. Since only the safety profile is covered by annotations, these gaps cost points.

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 that names the action, both entities, and both identifier forms with no filler. Nothing needs to be moved or cut.

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 simple two-parameter toggle with no output schema, the definition covers the core intent adequately. It falls short on the ambiguity created by zero required parameters and does not mention auth or the result of the toggle, which an agent must know before invoking it blindly.

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 0%, so the description carries real weight, and it does add the key mapping of vendor→slug and product→id that the bare schema lacks. It does not explain that the two parameters are alternatives rather than a pair, whether one is required, or which wins if both are passed — significant for a schema with zero required parameters.

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 concrete action pair (add or remove) on a concrete resource (favorites) and identifies the two selector types (vendor slug, product id). It is unambiguous what the tool does, though it does not name the sibling list tool zoodex_favorites as the read counterpart.

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 way to change favorite state, but there is no explicit 'use this when...' or pointer to zoodex_favorites for reading the current list. No prerequisites such as needing to be logged in are mentioned.

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