Skip to main content
Glama

How to add a persona to an app

anam_integration_guide
Read-onlyIdempotent

Current steps for putting a persona into the user’s app: the server-side session token pattern, the package to install, a minimal snippet, the guides to follow and the start of the stack’s main docs page. A persona ID fills it in.

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": {
      "stack": "<stack>"
    },
    "name": "anam_integration_guide"
  }
}

Input Schema

NameRequiredDescriptionDefault
stackYesjavascript: JavaScript SDK (browser); react: React or Next.js; livekit: LiveKit Agents; pipecat: Pipecat; python: Python SDK; elevenlabs: ElevenLabs Agents; widget: Website widget; mobile: Mobile apps
personaIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare this a read-only, idempotent, non-destructive, open-world lookup, so the safety profile is covered. The description adds that the content is 'current' (i.e., live-authored guidance rather than a static bundle) and that it is stack-scoped, but says nothing about response size, truncation, or how complete the returned steps are.

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?

A single front-loaded sentence that leads with what the tool produces and then lists its parts; nothing is padding. The trailing clause 'A persona ID fills it in' is terse to the point of being cryptic, but it is at least short.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter read-only guide tool with no output schema, the description gives a reasonable inventory of what comes back. However, it leaves the optionality and effect of personaId ambiguous and does not clarify whether the result is a full self-contained integration recipe or a pointer into the docs, which matters for an agent deciding what to do next.

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 50%: the stack enum is fully documented in the schema, while personaId has no schema description at all. The description partially compensates with 'A persona ID fills it in,' which conveys that personaId is substituted into the snippet rather than changing which guide is returned, but it remains unclear whether personaId is optional and when to omit it.

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 states a specific resource: current integration steps for embedding a persona into an app, enumerating what the guide contains (session token pattern, package to install, minimal snippet, guides, docs page). It is clearly a lookup/guide tool rather than a mutation or search, which separates it from most siblings, though it never names an alternative such as anam_docs_read or anam_scaffold.

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 only implied by the phrasing 'putting a persona into the user's app' and the required stack argument. There is no explicit when-to-use statement, no when-not to use it versus the docs search/read or scaffold siblings, and no stated prerequisites.

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