Skip to main content
Glama

RequestProduct

Upvote a suggested product

upvote_solution
Idempotent

Upvotes a product suggestion on a request (solution_id from get_request), as the API key's user. Not allowed on your own suggestions. Idempotent. Requires an API key.

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": {
      "solution_id": "<solution_id>"
    },
    "name": "upvote_solution"
  }
}

Input Schema

NameRequiredDescriptionDefault
solution_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already carry idempotentHint=true, destructiveHint=false, and openWorldHint=true, so the description's 'Idempotent' is largely redundant. However it adds genuinely new behavioral facts: the upvote is cast as the API key's user, an API key is required, and self-upvotes are rejected — none of which appear in 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?

Four short sentences, front-loaded with purpose and identifier provenance, then constraints. Nothing superfluous beyond the mild repetition of idempotency already in annotations.

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 action tool, the definition covers identity, prerequisites, the key constraint, and idempotency. The only omission is any hint of the response shape, which is low-cost given there is 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 0% for the single parameter, so the description must carry the meaning. 'solution_id from get_request' usefully identifies the value's origin, but leaves format, scoping, and error behavior for bad IDs unspecified, so it only partly compensates.

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 ('Upvotes a product suggestion on a request') and pins down the target entity so it is distinguishable from upvote_request (which upvotes the request itself) and from accept_solution. It even names where the identifier comes from ('solution_id from get_request').

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 a clear prerequisite chain (obtain solution_id via get_request) and an explicit exclusion ('Not allowed on your own suggestions'). It does not explicitly contrast with nearby alternatives such as upvote_request, so guidance is strong but not fully routing.

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