Skip to main content
Glama

get_playbook

Read-only

Returns the OrgGen manual for a diagram kind: the rules an agent must follow so that its writes produce a correct AND visible result. It is read before a first series of writes on a kind not yet handled: the most costly mistakes here raise no exception (content written but never displayed, a block placed off-screen, wrong percentages in a cap table) — nothing signals the failure. Without arguments, returns the cross-kind rules. With 'topic', restricts to one topic.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_playbook"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNoDiagram kind whose rules you want. Omitted, returns the cross-kind rules only. The kind present in the project is read with get_schema_overview: the playbook of another kind is of no use.
topicNoRestricts to one topic. Omitted, returns EVERYTHING that applies to the kind — it is voluminous but it is the recommended read before a first series of writes. Useful topics: 'placement' (coordinates, layout), 'contenu' (content: desc vs contentBlocks), 'ownership' (percentages), 'modelisation' (modeling: entities, relations), 'workflow' (order of operations).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / kind / description
      Previous value: -"Type de diagramme dont on veut les règles. Omis, rend les règles transverses uniquement. Le type présent dans le projet se lit avec get_schema_overview : le playbook d'un autre type ne sert pas."New value: +"Diagram kind whose rules you want. Omitted, returns the cross-kind rules only. The kind present in the project is read with get_schema_overview: the playbook of another kind is of no use."
    • changedInput schema / properties / topic / description
      Previous value: -"Restreint à un thème. Omis, rend TOUT ce qui s'applique au type — c'est volumineux mais c'est la lecture recommandée avant une première série d'écritures. Thèmes utiles : 'placement' (coordonnées, layout), 'contenu' (desc vs contentBlocks), 'ownership' (pourcentages), 'modelisation' (entités, relations), 'workflow' (ordre des opérations)."New value: +"Restricts to one topic. Omitted, returns EVERYTHING that applies to the kind — it is voluminous but it is the recommended read before a first series of writes. Useful topics: 'placement' (coordinates, layout), 'contenu' (content: desc vs contentBlocks), 'ownership' (percentages), 'modelisation' (modeling: entities, relations), 'workflow' (order of operations)."
  2. Changed1 schema field changed
    • changedInput schema / properties / kind / description
      Previous value: -"Type de diagramme dont on veut les règles. Omis, rend les règles transverses uniquement. Si tu ne sais pas, appelle get_schema_overview d'abord : le playbook du mauvais type ne t'aidera pas."New value: +"Type de diagramme dont on veut les règles. Omis, rend les règles transverses uniquement. Le type présent dans le projet se lit avec get_schema_overview : le playbook d'un autre type ne sert pas."
  3. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already establish readOnly/non-destructive/closed-world, and the description adds the critical context those annotations cannot: the failure mode is silent — content written but never displayed, blocks placed off-screen, wrong cap-table percentages, with no exception raised. That is exactly the kind of behavioral risk an agent needs before writing.

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 what it returns and when to read it, then the rationale for why it matters. The parenthetical list of silent failures is slightly long but each example earns its place by making the risk concrete.

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?

No output schema exists, and the description covers return semantics (cross-kind rules by default, single topic when specified, everything for the kind otherwise). For a two-parameter read tool this leaves no material gap for an agent.

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 100% and both parameters carry enums with detailed descriptions, including the 'kind' cross-reference to get_schema_overview and the 'topic' omission semantics. The description mostly restates the default behavior ('without arguments, returns the cross-kind rules'), adding little beyond the schema, so baseline 3 applies.

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 and resource ('Returns the OrgGen manual for a diagram kind') plus the outcome the rules guarantee ('correct AND visible result'). It is clear what the tool produces, though sibling differentiation (e.g. versus get_schema_overview, which is named in the schema rather than the description) is left to the parameter documentation.

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 an explicit trigger: read it 'before a first series of writes on a kind not yet handled', which tells the agent when to call it and implicitly when to skip it. It does not name an alternative tool to use for other cases, so it stops short of full when/when-not routing.

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.