Skip to main content
Glama

Favorite Image

toggle_favorite
Idempotent

Add an image to (or remove it from) the user's favorites. Accepts an image ID or a generation ID.

Input Schema

NameRequiredDescriptionDefault
idYesImage ID or generation ID.
is_favoriteNotrue to favorite, false to remove.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare non-read-only, idempotent, non-destructive behavior, so the safety profile is covered. The description adds the meaningful disclosure that the same call can both add and remove, driven by direction rather than separate tools. It says nothing about failure cases (unknown ID, ownership) or what state is returned after the toggle.

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?

Two short sentences with no filler; the dual add/remove behavior is front-loaded and the accepted identifier types follow immediately. Every sentence carries information.

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 two-parameter toggle with full schema coverage and rich annotations (idempotent, non-destructive, closed-world), the description plus structured fields are nearly sufficient. The remaining gap is post-call state and error conditions, which matter little for a low-risk toggle with no output schema.

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%, so both 'id' and 'is_favorite' are already documented in the schema, including the default of true. The description's mention of image ID or generation ID duplicates the schema text rather than adding new meaning, so 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 concrete verb and resource ('add an image to or remove it from the user's favorites') and clarifies that both directions are handled by one tool. It also states what identifiers are accepted. It does not explicitly contrast with any sibling, though no sibling in the list deals with favorites, so differentiation is implicit.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no guidance on when to use this tool versus alternatives, no preconditions (e.g. the image must already exist or belong to the user), and no note on how the toggle should be used repeatedly. The only guidance present is about which identifier types are valid, which is parameter-level rather than usage-level.

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