Skip to main content
Glama

Bite

Add a favorite product

add_favorite

Saves a product as one of the signed-in user's Bite favorites, so Bite prefers it when comparing baskets. Accepts product_id (a Bite product id from an earlier result) or query (the product as the user named it, e.g. "חלב תנובה 3%"). Example requests: "this milk is my favorite", "תוסיף למועדפים". Requires signing in to Bite.

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": "add_favorite"
  }
}

Input Schema

NameRequiredDescriptionDefault
groupNoFavorite group to add it to, e.g. "חלב". Defaults to the product's own name, so different products are not grouped; pass a group only to put products that substitute for each other together.
queryNoThe product name, Hebrew or English, when there is no product_id.
product_idNoBite product id from compare_basket or find_product_prices.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare non-readonly, non-destructive, non-idempotent, closed-world. The description adds two things annotations cannot convey: an authentication requirement ("Requires signing in to Bite") and the semantic consequence of the write (favorites influence basket comparison). It stops short of saying what happens on a repeat add (duplicate vs. merge), which matters given idempotentHint=false.

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?

Front-loaded with the action and its effect, then inputs, then examples, then the auth requirement. There is minor redundancy between "the signed-in user's" and the closing "Requires signing in to Bite" sentence, but nothing that obscures the core instruction.

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?

For a three-parameter write tool with no output schema, the description supplies the action, inputs, triggers, and auth gate. The one soft spot — that at least one of product_id/query is effectively needed despite required=0 — is implied by "Accepts product_id ... or query."

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 100%, so the baseline is 3. The description still adds provenance (product_id "from an earlier result") and clarifies the alternative path in natural terms ("the product as the user named it") with a concrete Hebrew example. The group parameter's default/grouping semantics are left entirely to the schema, whose text is long but sufficient.

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?

States a specific verb and resource ("Saves a product as one of the signed-in user's Bite favorites") and adds the downstream effect ("so Bite prefers it when comparing baskets"), which distinguishes it from read-side siblings like get_my_favorites and from remove_favorite without needing to name them.

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?

Gives concrete trigger utterances ("this milk is my favorite", "תוסיף למועדפים") and the sign-in prerequisite, so an agent can recognize when to call it. It does not state exclusions — e.g., when to prefer add_to_cart or add_benefit_program instead — so alternatives are left implicit.

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