Skip to main content
Glama

Make a playbook step

run_playbook_step

Make the part of a playbook step that PopNow does on its side (the step from use_playbook says when): pass the session and the slots that step lists. It quotes the total in PopNow credits first; after the user agrees, call it again with the same slots plus max_credits. Returns a batch_id; check it with get_batch.

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": {
      "session": "<session>",
      "step": "<step>"
    },
    "name": "run_playbook_step"
  }
}

Input Schema

NameRequiredDescriptionDefault
stepYesThe number of the step you are making (from the use_playbook answer).
slotsNoWhat this step asks for, by slot name: a text, or a list of texts for list slots.
consentNoOnly when the step says so: set true only after the user confirms the face and voice in what they brought are theirs or they have the person's permission, nobody in it is under 18, and it won't be used to mislead anyone, including about who someone is, or for anything unlawful. Never set it on your own.
sessionYesThe session from use_playbook.
retry_ofNoOnly to make this step again after its batch failed: that batch_id.
max_creditsNoThe most PopNow credits the user agreed to spend on this step. Only set it after the user confirmed the quoted total.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare this is a non-read-only, non-destructive, non-idempotent, closed-world mutation, so the safety profile is largely covered. The description adds real value by disclosing the credit-quote-then-confirm flow and the batch_id return value, but it doesn't clarify whether a repeat first-phase call has side effects or what state a quoted-but-unconfirmed step leaves behind.

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 the core action and then walks through the quote/confirm sequence in three compact sentences with no filler. The opening phrase 'Make the part of a playbook step that PopNow does on its side' is slightly convoluted but still earns its place by scoping the operation.

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

Completeness4/5

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

For a six-parameter mutation with a nested slots object and no output schema, the description covers the workflow, the cost gate, consent, retry, and the returned batch_id with a pointer to get_batch. Only the side effects of an unconfirmed first call remain unspecified.

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 the baseline would be 3; the description earns above that by tying session and slots to the use_playbook answer and by making max_credits conditional on the user confirming the quoted total, which the schema alone only hints at. It does not add detail on the slots object shape, but the schema already documents that.

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 names a specific verb+resource: executing the server-side portion of a playbook step, with the scoping note that use_playbook determines when the step runs. It implicitly distinguishes itself from use_playbook and get_batch, though what the step actually produces on the PopNow side stays abstract.

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 a concrete two-phase procedure: call first to get a credit quote, then after the user agrees call again with the same slots plus max_credits. It also covers the retry_of case (re-running after a failed batch) and the consent precondition. It stops short of stating when not to use this tool versus running a recipe/batch directly.

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.