Skip to main content
Glama

get_purchase

Read-onlyIdempotent

Fetch a single purchase by ID. No search or list is available; supply an ID from a webhook payload, customer order reference, or external record.

Instructions

Fetch one purchase by id. THERE IS NO WAY TO LIST OR SEARCH PURCHASES.

    v1 offers only this by-id endpoint - no listing, no filter, no search. So the id
    has to come from somewhere else: a purchase-fulfillment webhook payload, an order
    reference a customer quotes, or a record already held outside Skilljar.

    If you do not have an id, this tool cannot help and no other tool here can find
    one. Say that rather than searching - "I could not find the purchase" would imply
    a search that is not possible.

    A purchase record concerns a real person's transaction. Report what was asked and
    no more.

    Requires `CSA_SKILLJAR_V1_API_KEY`, a separate credential from the v2 client.
    

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Install Server

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already mark the call read-only, idempotent, and non-destructive. The description adds valuable behavioral context beyond that: the endpoint has no broader search capability, returned data concerns a real person's transaction and should be reported minimally, and a separate API key is required.

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?

The description is front-loaded with the core action and then gives practical guidance. It is somewhat verbose, repeating the no-listing/no-search point in several forms, but nearly every sentence contributes useful behavioral or credential information.

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?

For a single-parameter read tool with annotations and an output schema already present, the description covers everything needed to call it correctly: id sourcing, absence of alternatives, privacy expectations, and authentication. No critical operational detail is missing.

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?

With 0% schema coverage, the description carries the parameter documentation burden. It explains where a valid id can come from and what to do when no id is available, which adds real meaning beyond the bare 'id' string in the schema. It stops short of specifying any id format or example, a minor gap.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb and resource: 'Fetch one purchase by id.' It further distinguishes itself from siblings by explicitly stating there is no listing or search endpoint for purchases, so an agent cannot confuse it with any other tool.

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

Usage Guidelines5/5

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

It gives explicit provenance for the id (webhook payload, order reference, external record), states that the tool cannot help without an id, and instructs the agent to say so rather than implying a search. It also clarifies the required v1 credential, which affects when the tool is usable.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/CloudSecurityAlliance/csa-skilljar'

If you have feedback or need assistance with the MCP directory API, please join our Discord server