Skip to main content
Glama

Read prompts

read_prompt_portfolio
Read-onlyIdempotent

List the prompts the project tracks, so you know what is measured before reading results or changing prompts. Each row has the prompt id, text, topic, intent, buyer stage, cohort (core prompts are scored; comparison prompts name a competitor and are reported separately), status and whether audits measure it now, plus its prompt set and topic_id. The first page (no cursor) also has topics: every project topic (id, name, description), including topics with no prompts yet; topics_truncated says the list is partial. Rows come oldest first, in pages; pass next_cursor for more. To find one prompt by its wording use search; to see what engines answered for a prompt use read_visibility_results with its prompt_id. view sets lists every prompt set, empty ones included; view candidates lists suggested prompts waiting for review, with their ids.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "project_id": "<project_id>"
    },
    "name": "read_prompt_portfolio"
  }
}

Input Schema

NameRequiredDescriptionDefault
viewNoprompts (the default), sets or candidates; each is paged.prompts
limitNoHow many rows to return; omit for the default page size.
cohortNoKeep only scored or only comparison prompts; combines with the other filters.
cursorNoThe next_cursor a previous page returned.
intentNoKeep only prompts with this intent; evaluation marks brand prompts.
project_idYesA project id that list_projects returned.
active_onlyNotrue keeps only prompts audits measure now; false (the default) also lists disabled and archived ones.
prompt_set_idNoA prompt set id from an earlier row of this tool; omit for every set in the project.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / intent
      Added value: +{
      +  "description": "Keep only prompts with this intent; evaluation marks brand prompts.",
      +  "enum": [
      +    "comparison",
      +    "discovery",
      +    "evaluation",
      +    "local",
      +    "purchase",
      +    "service"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / view
      Added value: +{
      +  "default": "prompts",
      +  "description": "prompts (the default), sets or candidates; each is paged.",
      +  "enum": [
      +    "prompts",
      +    "sets",
      +    "candidates"
      +  ],
      +  "type": "string"
      +}
  2. Changed5 schema fields changed
    • addedInput schema / properties / active_only / description
      Added value: +"true keeps only prompts audits measure now; false (the default) also lists disabled and archived ones."
    • addedInput schema / properties / cohort / description
      Added value: +"Keep only scored or only comparison prompts; combines with the other filters."
    • addedInput schema / properties / limit / description
      Added value: +"How many rows to return; omit for the default page size."
    • addedInput schema / properties / project_id / description
      Added value: +"A project id that list_projects returned."
    • addedInput schema / properties / prompt_set_id / description
      Added value: +"A prompt set id from an earlier row of this tool; omit for every set in the project."
  3. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare this a safe read (readOnlyHint, idempotentHint, destructiveHint false), and the description adds traits the annotations cannot: rows come oldest first, results are paged with next_cursor, and the first page (no cursor) additionally returns topics and a topics_truncated flag. It also discloses reporting semantics for comparison prompts (named competitor, reported separately) and that empty prompt sets are included, all of which an agent needs to interpret the payload.

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-loaded with the purpose and the when-to-use framing, then return-shape, then pagination, then alternative tools — a sensible order with no filler sentences. It is dense and long for one paragraph, and the row-field enumeration ('id, text, topic, intent, buyer stage...') is a lot of surface, though it earns its place given there is no output schema.

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 an 8-parameter, no-output-schema read tool with three enum-driven views, the description covers purpose, return fields, pagination order and cursor flow, the extra topics payload on page one, and the sibling routes. Nothing material an agent needs to call or interpret the result correctly is missing.

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?

Schema coverage is 100%, so baseline is 3; the description adds real meaning for the enums that the schema only labels — cohort (core = scored, comparison = names a competitor and is reported separately), view sets/candidates (empty sets included, candidates carry ids), and the implicit cursor/view relationship ('first page (no cursor)'). Limit, intent, project_id and prompt_set_id are left to the already-thorough schema descriptions, which is acceptable.

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 and resource ('List the prompts the project tracks') and immediately scopes it as a catalog view taken before reading results or editing prompts. It also names what it is not (search for finding one prompt by wording, read_visibility_results for engine answers), so it is distinguishable from siblings without opening a 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?

Explicit sequencing guidance ('so you know what is measured before reading results or changing prompts') plus two named alternatives with the condition that selects each: search by wording, read_visibility_results by prompt_id. Also states when each view value applies (sets lists every set including empty ones, candidates lists suggestions awaiting review).

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