Skip to main content
Glama

Search polls

search_polls
Read-onlyIdempotent

Search public Morereply polls by words in the question or options, or by author username (@name). Returns up to 20 polls with status, vote totals and, where visitors may see them, option percentages. Only polls that are voting or closed are searchable. Use get_poll for one poll's full detail.

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": {
      "query": "<query>"
    },
    "name": "search_polls"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoHow many polls to return, 1 to 20
queryYesWords to find in poll questions or options, or @username for an author's polls
statusNoOnly polls in this state: voting (open) or closed
languageNoOnly polls written in this ISO 639-1 language, e.g. en, es, fr, pt

Output Schema

NameRequiredDescriptionDefault
noteYes
pollsYes
queryYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / properties / polls / items / properties / options / items / properties / id
      Added value: +{
      +  "description": "Option id; pass it to vote",
      +  "type": "string"
      +}
    • addedOutput schema / properties / polls / items / properties / your_vote
      Added value: +{
      +  "description": "The option the connected user voted for; absent for guests and when they have not voted",
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, closed-world), and the description adds non-obvious behavior: a hard cap of 20 results, that returned option percentages are visibility-gated for visitors, and that non-voting/non-closed polls are excluded from the index. Return payload details are summarized rather than expanded, which is fine given an output schema exists.

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 what is searched and what comes back, then constraints, then the sibling pointer. Nothing is redundant with the title and no filler sentences are present.

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 four-parameter read-only search with full schema coverage and an output schema, the description covers scope, result shape, and state filtering adequately. Pagination is not addressed, but the limit ceiling of 20 makes a cursor largely unnecessary.

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 100%, with query, limit, status and language all documented in the schema itself. The description restates the query semantics (@name author form) and the 20-result ceiling but adds no new format rules, defaults, or edge cases beyond structured fields, so baseline 3 applies.

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 ("Search public Morereply polls") plus the matching modes (words in question or options, @username) and result contents. It also explicitly distinguishes itself from get_poll, which returns one poll's full detail.

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 real usage condition: only polls in voting or closed state are searchable, and points to get_poll for single-poll detail. It does not cover relationships to get_analysis or list_analyses, but those operate on a different resource, so the guidance is clear for the main decision.

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