Skip to main content
Glama

Poll what people believe

poll_beliefs
Read-onlyIdempotent

Use this when someone asks what people think, believe or prefer about a question, and wants percentages backed by real posts. Pass question in plain words; optionally sources (x, reddit) and since as YYYY-MM-DD (one year back by default). Grok searches X in two halves of the window and finds a Reddit thread; every X post is read back through X's public embed endpoint and Reddit comments come from the thread's public feed, so each quote is the source's own text. Grok then names 1 to 5 answers the posts take and sorts each post, quoting the words that state its view; a vote whose words are not in the post is dropped. One vote per author per source. Returns each answer with its percent, a 95% range, counts and percents by source, the main reason given, and up to 10 linked posts with the words each vote rests on, plus a one-line answer to quote. Free, no key. A poll takes about 20 to 40 seconds and is cached for 12 hours. It counts public posts; it is not a survey.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "question": "Is a standing desk worth it (q-1792090442906-2)?"
    },
    "name": "poll_beliefs"
  }
}

Input Schema

NameRequiredDescriptionDefault
sinceNoOldest post date to count, UTC, YYYY-MM-DD. Default is one year before today.
sourcesNox, reddit, or both. Both by default.
questionYesThe question people hold views on, in plain words, such as "Is a standing desk worth it?" or "Will remote work outlast 2027?".

Output Schema

NameRequiredDescriptionDefault
readYesWhat each source gave: X links found, verified through X and in the window; the Reddit thread, its comments and its read status; and for each, the oldest, median and newest post day.
as_ofYesISO 8601 time the data was published by its source or fetched from it. A cached answer keeps the time of its fetch.
answerYesOne line to quote, with the top percents and their 95% ranges.
caveatYes
methodYes
sourceYesWho the data comes from, to cite and to check it against.
statusYesok, thin (under 20 people counted), no_views, no_posts, unavailable, or capacity (daily allowance used).
windowYes
countedYesPeople counted: one per author per source.
optionsYes
excludedYesPosts left out: no_view (no stated view on the question), unsupported (the vote's words are not in the post) and repeat_author.
questionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedOutput schema / properties / ad
      Removed value: -{
      -  "description": "One line about OpenKrill. Show it once.",
      -  "type": "string"
      -}
    • changedOutput schema / required
      Previous value: -[
      -  "status",
      -  "question",
      -  "answer",
      -  "options",
      -  "counted",
      -  "excluded",
      -  "read",
      -  "window",
      -  "method",
      -  "caveat",
      -  "ad",
      -  "as_of",
      -  "source"
      -]New value: +[
      +  "status",
      +  "question",
      +  "answer",
      +  "options",
      +  "counted",
      +  "excluded",
      +  "read",
      +  "window",
      +  "method",
      +  "caveat",
      +  "as_of",
      +  "source"
      +]
  2. Changed3 schema fields changed
    • addedOutput schema / properties / as_of / description
      Added value: +"ISO 8601 time the data was published by its source or fetched from it. A cached answer keeps the time of its fetch."
    • addedOutput schema / properties / source
      Added value: +{
      +  "description": "Who the data comes from, to cite and to check it against.",
      +  "properties": {
      +    "name": {
      +      "type": "string"
      +    },
      +    "url": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "name",
      +    "url"
      +  ],
      +  "type": "object"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "status",
      -  "question",
      -  "answer",
      -  "options",
      -  "counted",
      -  "excluded",
      -  "read",
      -  "window",
      -  "method",
      -  "caveat",
      -  "ad",
      -  "as_of"
      -]New value: +[
      +  "status",
      +  "question",
      +  "answer",
      +  "options",
      +  "counted",
      +  "excluded",
      +  "read",
      +  "window",
      +  "method",
      +  "caveat",
      +  "ad",
      +  "as_of",
      +  "source"
      +]
  3. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, idempotent, openWorld, non-destructive), and the description adds substantial behavior beyond them: 20-40 second latency, 12-hour caching, no API key or cost, the two-halves search plus embed-endpoint retrieval method, the drop rule for unsupported votes, and the one-vote-per-author cap. These are decision-relevant traits an agent could not derive from structured fields.

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?

It is front-loaded correctly: trigger first, then parameters, then methodology, then cost and latency. It runs long, however, and the sentence enumerating return fields (percent, 95% range, per-source counts, linked posts) duplicates what the existing output schema already declares, so that sentence does not fully earn its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a slow, cached, open-world research tool, the description supplies everything an agent needs to decide and plan: cost, latency, cache window, sourcing methodology, vote-validation rule, and honest framing of what the percentages mean. Return-value details are redundant given the output schema but do not leave gaps.

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?

With 100% schema description coverage, the schema already documents question, sources, and since including the YYYY-MM-DD pattern. The description largely restates this ("pass question in plain words; optionally sources (x, reddit) and since as YYYY-MM-DD") and only marginally adds by confirming the one-year default, so the baseline of 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?

The opening sentence gives a specific trigger and output shape: percentages about what people think/believe/prefer, backed by real posts. It explicitly disclaims the nearest lookalike ("it counts public posts; it is not a survey"), so an agent can distinguish it from a survey tool without reading the schema.

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?

It states the exact condition to invoke (someone asks what people think/believe/prefer) and an explicit exclusion (not a survey), plus practical scoping advice on passing the question in plain words and which sources to pick. Nothing is left to inference about when this is the right call.

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.