Skip to main content
Glama

List Archived Surveys

list_archived_surveys
Read-onlyIdempotent

Lists the account's ARCHIVED surveys — the ones sitting in the recoverable bin (archive_survey put them there, or the user deleted them in the app). Returns for each: ID, Name, Code, the SurveyState it had before archiving, and DeleteDate (when it was binned). Read-only: this does NOT restore or delete anything — the user restores an archived survey, or permanently deletes it, in the QUESTIONSTAR app. Use it to show the user what is in the bin, e.g. after archiving drafts. Live surveys and permanently deleted surveys are not listed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already cover readOnly/idempotent/non-destructive, but the description adds real context: it clarifies the tool is a pure read with no restore/delete capability and that those actions live in the app UI, which is not derivable from annotations. The enumerated return fields somewhat duplicate the output schema, keeping this from a 5.

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?

Front-loads identity and scope, then returns, then exclusions. Three dense sentences with no filler, though the return-field enumeration is arguably redundant given the output schema and adds modest length.

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?

An output schema exists and annotations carry the safety profile, so the remaining need is scope and when-to-use, both fully covered. An agent has everything required to call it correctly and to know when not to.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Zero parameters, so the baseline is 4. There is nothing for the description to disambiguate at the parameter level, and it correctly focuses on scope and output instead.

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?

Precise verb+resource+scope: 'Lists the account's ARCHIVED surveys' and immediately defines what archived means (recoverable bin). It names the sibling operation that put them there (archive_survey) and distinguishes itself from list_surveys by excluding live and permanently deleted surveys.

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?

Explicitly states when to use it ('show the user what is in the bin, e.g. after archiving drafts') and what it is not for: it does not restore or delete, and those actions happen in the QUESTIONSTAR app. The exclusion of live/permanently deleted surveys routes the agent away from this tool when those are the target.

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