Skip to main content
Glama

Upvote a tool

upvote_product

Toggle your upvote on a product. Requires a token.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
slugYesTool slug, e.g. claude-code

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations mark the operation as non-read-only, non-idempotent, and non-destructive; the description adds that it toggles state, which explains the alternating behavior, and explicitly requires a token (auth context). No contradiction with annotations.

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 redundant language; the action is front-loaded and the auth requirement is stated separately. Every word earns its place.

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 single-parameter toggle operation, the description plus schema are largely sufficient: purpose, target (slug), and auth requirement are all present. It stops short of describing the response or error behavior, but no output schema exists and the operation is simple.

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 covers the only parameter (slug) with a clear description and example; the tool description adds no additional meaning to the parameter. Baseline 3 applies due to high schema coverage.

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?

Description uses a specific verb ('Toggle') and resource ('your upvote on a product'), which clearly distinguishes from siblings like get_product or submit_product. Even without opening the schema, an agent knows this tool mutates vote state rather than reading or listing.

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?

No guidance on when to use this tool over alternatives. It does not mention that toggling is appropriate for both adding and removing an upvote, nor does it point to get_product or preview_product for read-only viewing. The token requirement is a prerequisite, not a usage guideline.

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.