Skip to main content
Glama

preview_event_payload

Read-onlyIdempotent

Preview a sample payload for any webhook event type to see the exact fields you’ll receive before building a receiver or verifying workflow data.

Instructions

Show an EXAMPLE payload for one webhook event type.

    `event_type` is the value a webhook carries - `COURSE_COMPLETION`,
    `PURCHASE_FULFILLMENT` and so on. `list_webhooks` shows which are subscribed;
    this works for all ten whether or not anything is listening.

    Use it to answer "what fields will I get" before writing a receiver, and to check
    whether an event carries the data a workflow needs.

    THE PAYLOAD IS AN EXAMPLE, NOT A REAL EVENT. Skilljar returns sample data; the
    ids and names in it refer to nothing. Do not report them as real records, and do
    not look up the ids.

    One tool rather than ten: v1 has a separate endpoint per event type, which is ten
    tools' worth of surface for a single question.

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

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
event_typeYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Install Server

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint, so the safety profile is covered. The description adds important non-obvious behavior: the payload is sample data, IDs refer to nothing, users should not report or look up those IDs, and a separate CSA_SKILLJAR_V1_API_KEY credential is required. This goes meaningfully beyond what annotations provide.

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 core purpose is front-loaded in the first sentence, and each subsequent sentence adds a distinct piece of value: parameter meaning, use cases, fake-data warning, credential requirement, and tool-design rationale. The 'One tool rather than ten' sentence is slightly tangential but still helps the agent understand why this tool exists.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter read-only preview tool with an output schema, the description is nearly complete. It explains the parameter, states use cases, warns about sample data, and discloses the credential requirement. The main gap is that it names only two of the ten possible event_type values, though the examples and reference to list_webhooks partially mitigate this.

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?

Schema description coverage is 0%, so the description must explain the parameter. It does: event_type is the value a webhook carries, with concrete examples (COURSE_COMPLETION, PURCHASE_FULFILLMENT), and it states there are ten supported types. It stops short of enumerating all ten values, which would make it a 5, but it gives enough semantic grounding for most agents.

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 uses a specific verb and resource: 'Show an EXAMPLE payload for one webhook event type.' It also distinguishes this from related siblings like list_webhooks by clarifying that it previews payloads rather than managing subscriptions or webhook configuration.

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?

The description gives explicit use cases: answering 'what fields will I get' before writing a receiver, and checking whether an event carries needed data. It also clarifies that subscription status is irrelevant ('works for all ten whether or not anything is listening') and points to list_webhooks for subscription context. It lacks an explicit 'do not use when' statement, but the guidance is clear and actionable.

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