Skip to main content
Glama

WhatWorks

Upvote

vote
Destructive

Upvote (or remove an upvote from) a WhatWorks thread (target_type "topic"), package, comment or request. Upvote means "useful"; it is not a trial result. Only with the user's OK.

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": {
      "target_type": "<target_type>",
      "target": "<target>"
    },
    "name": "vote"
  }
}

Input Schema

NameRequiredDescriptionDefault
removeNo
targetYesSlug for threads (topics) and packages, id for comments and requests.
target_typeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false; the description usefully explains that this is because the tool can also remove an upvote, and adds the consent requirement. It does not disclose behavior for repeat calls (idempotentHint=false — duplicate upvote or error?) or what the caller gets back.

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?

Three short, front-loaded sentences with no filler; the operation and its removal variant lead. The nested quoting around "topic" and "useful" is slightly noisy but not wasteful.

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 small mutation tool with annotations and no output schema, the definition covers scope, meaning, consent and the undo path. The remaining gap is repeat-invocation behavior, which matters given idempotentHint=false but is a minor omission for a 3-parameter tool.

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 only 33%, and the description partially compensates by listing the target types that mirror the target_type enum and by explaining that removal is possible. It never explains that the `remove` boolean (default false) is the switch for that behavior, nor adds anything beyond the schema's own slug-vs-id note for `target`.

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 (upvote / remove an upvote) and enumerates the exact target resources (thread/topic, package, comment, request). The clause "it is not a trial result" separates the intent from result-reporting siblings such as report_result, though no sibling is named directly.

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 semantic rule for when to use it ("Upvote means 'useful'") and an explicit precondition ("Only with the user's OK"). It does not enumerate when to prefer kudos/flag/follow 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