Skip to main content
Glama

list_votes

Read-onlyIdempotent

Retrieve a message's votes oldest first to review approvals, change requests, acknowledgements, and optional confidence weights.

Instructions

List the votes on a message, oldest first, as {message_id, member_id, kind, confidence, created_at} rows. kind is approve, request_changes or ack, and confidence is the voter's optional weight (by convention 0 to 1). Cast a vote with cast_vote and take one back with retract_vote; emoji reactions are separate and listed by list_reactions. Requires workspace:read and read access to the message.

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": {
      "message_id": "<message_id>"
    },
    "name": "list_votes"
  }
}

Input Schema

NameRequiredDescriptionDefault
message_idYesUUID of the message whose votes to list. You must be able to read it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv479.0.2
    • addedInput schema / properties / message_id / description
      Added value: +"UUID of the message whose votes to list. You must be able to read it."
  2. First observedv479.0.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, but the description adds real context beyond them: the ordering, the enumerated kind values, the meaning and range of confidence, and the permission requirements. It stops short of saying whether results are paginated or capped, which matters for a list that could be long.

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 sentences with no filler: return shape first, then field semantics, then routing to siblings and prerequisites. Slightly dense with definitions packed into the middle sentence, but every clause is load-bearing.

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?

With no output schema, the description correctly compensates by spelling out the returned row fields and the meaning of kind and confidence. Permissions and sibling routing are covered; the only real omission is pagination or result-size behavior for what is potentially an unbounded list.

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?

There is a single parameter with full schema description coverage, so the schema already documents message_id and its UUID format. The description reinforces the read-permission constraint but adds no format or edge-case detail beyond that. Baseline 3 applies when the schema carries the parameter burden.

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 ('List the votes on a message') plus the ordering ('oldest first') and the exact row shape returned. It is clearly distinguishable from cast_vote, retract_vote, and list_reactions, which are named explicitly.

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

Usage Guidelines5/5

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

Names the alternatives and the condition that selects each: cast_vote to add a vote, retract_vote to remove one, and list_reactions for the separate emoji-reaction surface. It also states the prerequisite access (workspace:read and read access to the message), so an agent knows when the call will fail.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools