Skip to main content
Glama

List tracked prompts and their FAQ answers

list_prompts
Read-onlyIdempotent

A site's tracked prompts, oldest first, 100 per page: each with queryId, query (the tracked text exactly as stored), faqQuestion (the question the FAQPage JSON-LD carries: a language variant's trailing assistant instruction removed), language (the variant's language, null for the default variant), templateId, answer (the FAQ answer verbatim, null when there is none), answerHash, answerUpdatedAt (when the answer last changed; null if it has not changed since 2026-10-26), archived, automaticChecksFrom (YYYY-MM-DD when its automatic checks start in a later month, else null), replacesQueryId (the prompt this one replaced, else null) and replacedByQueryId (the newest prompt that replaced this one, else null; a replaced prompt is archived and keeps its history). answerHash is the lowercase hex SHA-256 of the answer's UTF-8 bytes — hash exactly the answer string returned here (answers are stored with LF line endings and trimmed ends, nothing else changed) and compare to check that your page and Promvia hold the same text; it is also the expectedHash the answer writes take. Pass nextCursor back as cursor for the next page (null on the last); archived prompts only with includeArchived: true. Writing answers is set_prompt_answer or sync_prompt_answers, which need write access (prompts:write).

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": "list_prompts"
  }
}

Input Schema

NameRequiredDescriptionDefault
cursorNonextCursor from the previous page.
siteIdNoOptional on a connected app: the site chosen with select_site is used. If given, it must be that site. With an API key it is required: a site id from list_sites.
includeArchivedNoInclude prompts you stopped tracking (default false).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / siteId / description
      Previous value: -"A Promvia site id. Get one from list_sites."New value: +"Optional on a connected app: the site chosen with select_site is used. If given, it must be that site. With an API key it is required: a site id from list_sites."
    • removedInput schema / required
      Removed value: -[
      -  "siteId"
      -]
  2. Added

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world. The description adds materially beyond that: fixed ordering, page size, cursor termination (null on last page), the exact hashing contract for answerHash including LF line endings and trimming, and the write permission requirement for related tools.

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?

Purpose and pagination lead, then field semantics, then the write-tool routing — a sensible front-loaded order with little filler. It is delivered as one very dense paragraph, so readability suffers even though nearly every clause carries information the missing output schema would otherwise need to supply.

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?

There is no output schema, so the return-shape documentation (queryId, faqQuestion, language, answer, answerHash, answerUpdatedAt, archived, automaticChecksFrom, replacesQueryId/replacedByQueryId) is necessary and is supplied thoroughly. Pagination and null semantics are covered, leaving nothing an agent needs missing.

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%, so cursor, siteId and includeArchived are already documented in the schema. The description restates the cursor round-trip and adds context that archived means a replaced prompt that kept its history, but does not add syntax or edge cases beyond the schema.

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?

Opens with a specific verb and resource plus scope and ordering: "A site's tracked prompts, oldest first, 100 per page." It also names the write-side siblings (set_prompt_answer, sync_prompt_answers), so an agent can distinguish read from write paths without opening another schema.

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 operational guidance: pass nextCursor back as cursor, archived prompts require includeArchived: true, and answer writing belongs to set_prompt_answer/sync_prompt_answers with prompts:write. It does not state when to prefer this over other listing tools such as get_prompt_templates, but the read/write routing is clear.

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.