Skip to main content
Glama

Get Agent Playbook

get_agent_playbook

Agent playbook for one published use case, by slug. Signed-out calls are an HTTP 401 so the client can open Sign in to The AI Integration Hub; the library tools stay public. After sign-in the JSON access field is full (follow the playbook, then offer its schedule only if the user confirms), free_claim_available (ask, and set claim true only after the user says yes), preview with reason upgrade (show preview, prices, and the purchase links exactly, then stop), or not_included (show the message and the plans link exactly, then stop). If the needed files are attached in the chat, run on those and do not upload them. An error means that slug has no agent. Do not invent the playbook or a price. The user's business data stays in the chat.

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": {
      "slug": "<slug>"
    },
    "name": "get_agent_playbook"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugYesUse case slug, such as sales-forecasting.
claimNoSet true only after this tool has offered the slug as the account's one free agent.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Discloses auth behavior (401 on signed-out), error semantics ('an error means that slug has no agent'), the mutating side effect of claim, and privacy handling ('business data stays in the chat'). This fits the readOnlyHint=false annotation, since claim can mutate account entitlement, and adds substantial context beyond it.

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-loads purpose, then flows through the access branches with no filler sentences; every clause encodes a rule. The single dense paragraph and parenthetical nesting make it harder to scan than it could be, keeping it below a 5.

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?

With no output schema, the description compensates by naming the JSON access field's possible values and the required response for each, plus error and privacy behavior. Nothing needed to call or handle 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 claim by tying it to user confirmation ('ask, and set claim true only after the user says yes'), which the schema only states more weakly. The slug parameter gets no elaboration beyond the schema example.

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?

States a specific verb+resource ('Agent playbook for one published use case, by slug') and implicitly contrasts with the library tools that 'stay public.' An agent can tell it fetches the actionable playbook keyed by slug, though the sibling it differs from (get_use_case, run_agent) is not named explicitly.

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?

Gives explicit conditional branches: signed-out → 401 so the client can open Sign in; each access state (full, free_claim_available, preview with reason upgrade, not_included) has concrete instructions, including when to stop. It also says to run on chat-attached files rather than upload, and to set claim=true only after the user confirms.

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