Skip to main content
Glama

Get Purchase Template

get_purchase_template
Read-onlyIdempotent

Use this when working with RetailHardHat purchase_lists records in the connected organization. Read a purchase template. 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": {
      "templateId": "<templateId>"
    },
    "name": "get_purchase_template"
  }
}

Input Schema

NameRequiredDescriptionDefault
templateIdYes

Output Schema

NameRequiredDescriptionDefault
dataYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds an approval-requirements note, but that is boilerplate governance text that does not describe actual tool behavior such as not-found handling or what visibility rules restrict reads.

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 core action ("Read a purchase template") is buried in the second sentence behind a generic scope preamble. The approval-requirements sentence is largely irrelevant filler for a read-only lookup and could be dropped.

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?

The tool is simple (one required ID parameter), annotations are rich, and an output schema exists to describe the return, so not much is needed. Still missing is any clarification of what templateId identifies and how this differs from the plentiful list/get template siblings in this API surface.

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 description says nothing about templateId — no indication it is a template UUID, where to obtain it, or what happens with an unknown ID. The only help comes from the schema's uuid format/pattern, so the description fails to compensate for the coverage gap.

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 ("Read a purchase template") and scopes it to the connected organization. It does not differentiate from near-siblings such as list_purchase_templates or list_purchase_template_items, and the phrase "purchase_lists records" introduces a slightly confusing alternate terminology.

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?

"Use this when working with RetailHardHat purchase_lists records" is a generic contextual trigger rather than actual guidance. There is no statement of when to fetch one template versus listing templates or reading template items, and no prerequisites are given.

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