Skip to main content
Glama

Create a playbook

create_playbook

Create a negotiation playbook defining preferences for each clause: preferred option, priority (1-5), flexibility (1-5), red lines, and acceptable alternatives.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesUnique playbook name
entriesYes
contractTypeYesContract type code: one from list_contract_types, or an A2A_ agent-to-agent protocol type from list_templates (those are negotiated only, never made with generate_contract)
governingLawYes
contractLanguageNoen

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / contractType / description
      Previous value: -"Contract type"New value: +"Contract type code: one from list_contract_types, or an A2A_ agent-to-agent protocol type from list_templates (those are negotiated only, never made with generate_contract)"
    • removedInput schema / properties / contractType / enum
      Removed value: -[
      -  "A2A_API_ACCESS",
      -  "ACTA_CONSEJO_ADMINISTRACION",
      -  "ACTA_JUNTA_GENERAL",
      -  "ADVERTISING_IO",
      -  "ADVISORY",
      -  "AFFILIATE_PROGRAM",
      -  "A2A_MONITORING",
      -  "PHANTOM_SHARES_GRANT",
      -  "RESIDENTIAL_TENANCY_GB",
      -  "RESIDENTIAL_TENANCY_US_CA",
      -  "DELAWARE_CERT_OF_INCORPORATION",
      -  "A2A_COMPUTE_PROCUREMENT",
      -  "CONSULTING",
      -  "A2A_CONTENT_LICENSE",
      -  "RESIDENTIAL_TENANCY_ES",
      -  "CONVERTIBLE_NOTE",
      -  "DATA_LICENSING",
      -  "DPA",
      -  "A2A_DATA_SHARING",
      -  "EMPLOYMENT",
      -  "CONTRATO_LABORAL",
      -  "EQUITY_INCENTIVE",
      -  "FOUNDERS",
      -  "BAA_NEGOTIATOR",
      -  "CESION_PI",
      -  "IP_ASSIGNMENT",
      -  "INFLUENCER_MARKETING",
      -  "JOINT_VENTURE",
      -  "A2A_KNOWLEDGE_ACCESS",
      -  "PHANTOM_SHARES_PLAN",
      -  "A2A_MARKETPLACE",
      -  "MSA",
      -  "NDA",
      -  "A2A_ORCHESTRATION",
      -  "A2A_PAYMENT_AUTHORIZATION",
      -  "PRIVACY_NOTICE",
      -  "SAFE",
      -  "SAAS",
      -  "SEED_INVESTMENT",
      -  "CONTRATO_SERVICIOS",
      -  "SHAREHOLDERS",
      -  "PACTO_SOCIOS",
      -  "SOFTWARE_DEVELOPMENT",
      -  "A2A_SUPPLY_CHAIN",
      -  "A2A_TASK_DELEGATION",
      -  "TECHNOLOGY_LICENSE",
      -  "TEMPLATE",
      -  "TERM_SHEET",
      -  "A2A_TOOL_LICENSE",
      -  "WHITE_LABEL_RESELLER"
      -]
    • changedInput schema / properties / governingLaw / enum
      Previous value: -[
      -  "CALIFORNIA",
      -  "NEW_YORK",
      -  "ENGLAND_WALES",
      -  "SPAIN"
      -]New value: +[
      +  "CALIFORNIA",
      +  "ENGLAND_WALES",
      +  "SPAIN"
      +]
  2. First observed

TDQS

C2.9/5.0
Behavior2/5

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

Annotations declare readOnlyHint=false, correctly signaling a write, but the description adds nothing behavioral beyond that: it does not say whether name collisions fail or overwrite, whether the created playbook is immediately usable, or what happens on partial/invalid entries. For a pure mutation with no output schema, this is a notable gap.

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 with no filler; every clause carries information about the payload shape. Slightly dense but appropriately sized.

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?

With no output schema and 40% schema coverage, a create tool needs more transactional detail (unique-name behavior, required discovery of clause/option IDs, validation failures) than is provided. The entry-level semantics are covered, but the creation workflow is only minimally complete.

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 only 40%, but the description partially compensates by unpacking the nested entries fields (preferred option, priority 1-5, flexibility 1-5, red lines, acceptable alternatives). It says nothing about the required top-level fields name, contractType, governingLaw, or contractLanguage, leaving those to the schema.

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 (Create) and resource (negotiation playbook) and enumerates the clause-level preferences it defines. It is clearly distinguishable from siblings like generate_contract or initiate_negotiation, though it does not explicitly name them.

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

Usage Guidelines2/5

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

No guidance on when to use this tool versus alternatives such as initiate_negotiation, nor any prerequisites (e.g., that clause/option IDs and contract types must be discovered first via list_contract_types or list_templates). The agent must infer the setup workflow entirely.

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.