Skip to main content
Glama

Create Purchase Template

create_purchase_template

Use this when working with RetailHardHat purchase_lists records in the connected organization. Create a purchase template. No change occurs until a human approves the exact request in Settings > MCP and execute_approved_action is called. MCP approval requirements are configurable by the organization administrator; business workflow approvals always apply.

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": {
      "data": "<data>"
    },
    "name": "create_purchase_template"
  }
}

Input Schema

NameRequiredDescriptionDefault
dataYes

Output Schema

NameRequiredDescriptionDefault
dataYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior4/5

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

With non-destructive, non-idempotent, non-read-only annotations already declared, the description adds real behavioral context: no change occurs until a human approves the exact request and execute_approved_action is called, and organization-configurable approval requirements plus business workflow approvals always apply. That tells the agent the call is staged, not immediate, which matters for orchestration.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The approval-gating sentences earn their place, but the opening clause about 'purchase_lists records' is boilerplate that adds little and slightly muddies the resource name. Front-loading 'Create a purchase template' first would be stronger.

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?

An output schema exists, so return values needn't be explained, and the approval mechanism is well covered. The gap is the nested 'data' object payload, which an agent must construct with no explanation of its fields, leaving the definition only adequate for a create tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and the single 'data' parameter is a nested object with required 'name' and optional 'description'. The description says nothing about what these fields mean or what shape is expected, so it adds no value beyond 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?

The description states a specific verb and resource ('Create a purchase template'), which lets an agent distinguish it from list_purchase_templates, update_purchase_template, and apply_purchase_template. However, the reference to 'purchase_lists records' introduces a slightly confusing label not matching the sibling naming, and the tool is not explicitly contrasted with the apply/update siblings.

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?

'Use this when working with RetailHardHat purchase_lists records in the connected organization' gives a domain context and the approval-workflow prerequisite, which is genuine usage guidance. It stops short of naming when to prefer this over creating via apply_purchase_template or updating an existing template, so alternatives are only implied.

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