Skip to main content
Glama

List Forms surveys

forms_surveys_list
Read-onlyIdempotent

Every form (survey) the caller can see, auto-paginated over the API's offset pages.

Instructions

Every form (survey) the caller can see, auto-paginated over the API's offset pages.

Capped at the configured item cap unless limit is given. Each item's id is the form id you pass to surveys_get / questions_list / answers_list.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "forms_surveys_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
allNoReturn everything, ignoring the cap. A long listing is better taken in pieces: `limit`, then `next`.
nameNoKeep the forms whose name matches.
nextNoGo on from where an earlier call stopped, with the `next` it returned: the token carries its listing; give what is required again, and nothing else but the limit.
groupNoKeep the forms of this group.
limitNoMax forms to return; omitted means the configured cap of a tool (YCLI__HTTP__MAX_TOOL_ITEMS).
orderbyNoSort, a comma list such as ``name,-modified,-count``.
show_allNoFor an administrator, every form of the organization.
favouriteNoOnly favourites (true) or only the others (false).
ownershipNo``mine`` (created by the caller) or ``shared`` (open to them).
publishedNoOnly published (true) or only unpublished (false).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.142.2
    • addedInput schema / properties / all
      Added value: +{
      +  "default": false,
      +  "description": "Return everything, ignoring the cap. A long listing is better taken in pieces: `limit`, then `next`.",
      +  "type": "boolean"
      +}
    • changedInput schema / properties / limit / description
      Previous value: -"Max forms to return; omitted means the configured cap (YCLI__HTTP__MAX_ITEMS)."New value: +"Max forms to return; omitted means the configured cap of a tool (YCLI__HTTP__MAX_TOOL_ITEMS)."
    • addedInput schema / properties / next
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Go on from where an earlier call stopped, with the `next` it returned: the token carries its listing; give what is required again, and nothing else but the limit."
      +}
  2. Changed3 schema fields changedv0.122.1
    • addedInput schema / properties / show_all / anyOf
      Added value: +[
      +  {
      +    "type": "boolean"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / show_all / default
      Previous value: -falseNew value: +null
    • removedInput schema / properties / show_all / type
      Removed value: -"boolean"
  3. First observedv0.67.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint, so the safety profile is covered; the description adds genuinely new behavior — transparent auto-pagination over the API's offset pages and a default item cap that silently truncates results. The id-to-downstream-tool linkage is also useful. It does not describe the item shape or fields returned, which is the remaining gap given there is no output schema.

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?

Three short sentences with zero filler; the scope is front-loaded, the truncation caveat follows, and the id-chaining note comes last where an agent needs it. No sentence is redundant with the others.

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 ten-parameter, fully schema-documented read tool with annotations covering safety, the description supplies the two non-obvious behaviors an agent could not infer: automatic pagination with a silent item cap, and the `id` hand-off to downstream tools. The only missing piece is any hint of the returned item shape, which is minor absent an output schema.

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 description coverage is 100% and every parameter, including `limit`, `next`, `all`, `show_all` and `orderby`, is already documented in the schema. The description reinforces the cap/`limit` relationship but introduces no syntax or semantics for the filter parameters. Baseline 3 applies because the schema does the heavy lifting.

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 first clause names a specific verb and resource ('Every form (survey) the caller can see'), including the visibility scope that distinguishes it from an admin-wide listing. It also closes with the downstream use of each item's `id`, so an agent understands this is the entry point for the get/questions/answers tools.

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?

It gives clear operational guidance: results are auto-paginated, capped unless `limit` is given, and long listings should be taken in pieces via `limit` then `next`. It does not explicitly say when not to use it (e.g. when a single known form id is already available and `forms_surveys_get` suffices), so it stops short of full alternative routing.

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