Skip to main content
Glama
phuryn

AskOne: Live Q&A and Polls

Poll and survey results

get_survey_results
Read-onlyIdempotent

Read all surveys in a room with their status and aggregate results to report polls, quizzes, ratings, and word clouds, and to get survey IDs for closing.

Instructions

Read every survey in a room with its id, kind, status (draft, live or closed) and aggregate results: polls and quizzes are kind=choice with counts per option (a closed quiz also has correct_option_id), ratings have counts and an average, word clouds have words with counts and no options. Use it to report results and to get the survey_id that close_survey takes. Quiz answer keys appear only after a survey closes; no participant identities are ever returned.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYesSix-character room code, for example ABC234

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/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, non-destructive, closed-world), and the description adds genuinely new behavioral context: quiz answer keys are withheld until a survey closes, and no participant identities are ever returned. These data-visibility rules are not derivable from the annotations or schema.

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 dense sentences, front-loaded with the action and scope, and each clause (result shapes, close_survey linkage, answer-key timing, no identities) carries distinct information. Slightly long but nothing is wasted.

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?

With no output schema, the description carries the burden of explaining return values and does so thoroughly per survey kind, plus caveats about answer-key timing and anonymity. An agent has everything needed to call and interpret the result.

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?

Only one parameter (code) and schema description coverage is 100%, with the pattern and example documented in the schema itself. The description implies 'room' scoping but adds no format or constraint detail beyond the schema, so the baseline of 3 is appropriate.

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 (read) and resource (every survey in a room) and enumerates the returned shape per survey kind (choice counts, ratings average, word clouds), which lets an agent distinguish it from siblings like get_room_questions or get_room_qa without opening schemas.

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 explicit usage contexts: reporting results, and obtaining the survey_id that close_survey consumes. It does not state when NOT to use it or name an alternative read tool, so it falls short of a 5, but the downstream linkage is concrete and actionable.

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