Skip to main content
Glama

RequestProduct

Upvote a request

upvote_request
Idempotent

Upvotes a request as the API key's user (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": {
      "request_id": "<request_id>"
    },
    "name": "upvote_request"
  }
}

Input Schema

NameRequiredDescriptionDefault
request_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3/5.0
Behavior3/5

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

The auth requirement ('Requires an API key') is genuine context beyond the annotations, which is valuable. However, '(idempotent)' merely restates idempotentHint=true, and it never says what the idempotent behavior actually looks like (silent no-op vs. returning an error) or whether a user can upvote their own request.

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?

Two short sentences, front-loaded with the action, with no filler. The '(idempotent)' aside duplicates the annotation and could be dropped or replaced with the actual repeat-call behavior.

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 one-parameter mutation tool this covers the action, actor and auth, which is the core. It still leaves open the meaning of request_id, the return value, and what a caller observes on a repeat upvote — gaps that matter slightly more here because no output schema exists to fill them.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% for the single required parameter request_id, and the description does not compensate at all — it never says where to obtain a request ID or what form it takes. Only the parameter name carries meaning.

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?

States a specific verb and resource ('Upvotes a request') plus the acting identity ('as the API key's user'), so an agent knows exactly what the call does. It does not name the sibling upvote_solution, so the reader must infer the distinction between upvoting a request and upvoting a solution from the resource noun alone.

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?

The description gives an operational prerequisite ('Requires an API key') but no guidance on when to choose this over upvote_solution or under what conditions an upvote is appropriate or rejected. Usage is only implied by the verb-resource pair.

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