Skip to main content
Glama

campaignstack_get_workspace_memories

Read-onlyIdempotent

List workspace memories: active notes already used in prompts first, then candidate notes awaiting confirmation, each newest first. Each item carries status, observations (a candidate goes live at 3, from three different leads), direction (include: asks drafts to contain something; avoid: asks them to leave it out) and source (agent, user, or user_edit for notes learned from edits). Page with pagination.nextCursor while pagination.hasMore is true.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoPage size, default 50, at most 100.
cursorNopagination.nextCursor from the previous page.
categoryNo
workspaceIdNoWorkspace ID. Omit it when this connection reaches one workspace: a workspace key (cs_) is bound to its own, and a user key (csu_) or connected app whose person belongs to exactly one workspace defaults to that one. Required only when the person belongs to several; the error then lists them, and campaignstack_whoami reports them too.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataNo
paginationNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / cursor
      Added value: +{
      +  "description": "pagination.nextCursor from the previous page.",
      +  "type": "string"
      +}
    • addedInput schema / properties / limit
      Added value: +{
      +  "description": "Page size, default 50, at most 100.",
      +  "maximum": 100,
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • changedOutput schema / properties / data / anyOf
      Previous value: -[
      -  {
      -    "items": {
      -      "additionalProperties": true,
      -      "properties": {
      -        "category": {
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        },
      -        "content": {
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        },
      -        "createdAt": {
      -          "type": [
      -            "number",
      -            "null"
      -          ]
      -        },
      -        "id": {
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        },
      -        "leadId": {
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        },
      -        "source": {
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        },
      -        "status": {
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        },
      -        "title": {
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        }
      -      },
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "items": {
      +      "additionalProperties": true,
      +      "properties": {
      +        "category": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "content": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "createdAt": {
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        },
      +        "direction": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "id": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "leadId": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "observations": {
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        },
      +        "source": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "status": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "title": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  2. Changed1 schema field changed
    • changedInput schema / properties / workspaceId / description
      Previous value: -"Workspace ID. REQUIRED for a user key (csu_), which spans every workspace you belong to; omitted for a workspace key (cs_), which is bound to one and ignores this argument. campaignstack_whoami reports which kind of key you are holding and, for a user key, the workspaces it can reach."New value: +"Workspace ID. Omit it when this connection reaches one workspace: a workspace key (cs_) is bound to its own, and a user key (csu_) or connected app whose person belongs to exactly one workspace defaults to that one. Required only when the person belongs to several; the error then lists them, and campaignstack_whoami reports them too."
  3. Added

TDQS

A4/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), yet the description adds substantial behavioral context beyond them: the result ordering, the promotion rule (a candidate goes live at 3, from three different leads), the direction semantics, the source taxonomy, and the pagination loop condition. This is exactly the extra context annotations cannot supply.

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?

Three sentences, front-loaded with the purpose and ordering before the item anatomy. Dense but every clause carries information; the parentheticals are slightly heavy but justified by explaining non-obvious domain fields.

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, so return values need not be explained, yet the description still documents the returned item shape (status, observations, direction, source). Combined with the ordering and pagination guidance, an agent has everything needed to call and consume this tool correctly.

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 75% and the workspaceId description is already quite detailed. The description adds the pagination loop guidance that maps to the cursor parameter, but says nothing about the category enum values (rule, voice, audience, lesson, other), leaving one parameter's meaning to the schema alone. Baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb+resource ("List workspace memories") and immediately defines the scope and ordering (active notes first, then candidates, each newest first). It does not explicitly name the sibling mutations it is distinct from (edit_workspace_memory, delete_workspace_memory), but the read/list framing makes the distinction clear enough for an agent.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied by what the tool returns (active vs. candidate notes), which helps an agent judge relevance, but there is no explicit when-to-use, when-not-to-use, or named alternative. No prerequisites or exclusions are stated.

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