Skip to main content
Glama

Create an event-signing credential

create_event_credential

Performance ads. Creates the credential your server signs its conversion events with, and returns credential.key_id (bpk_...), signing_secret_hex and postback_token. They are shown once: store them. The first step of a Performance ad.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "create_event_credential"
  }
}

Input Schema

NameRequiredDescriptionDefault
labelNoYour name for the credential, 1 to 64 characters.
api_keyNoThe API key of the account (can_live_...). Optional when this MCP connection sends it as the Authorization: Bearer header.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare this is a non-read-only, non-idempotent, open-world write, but the description adds genuinely new behavior: the secret material is 'shown once' and must be stored immediately, which is critical operational context absent from structured fields. It does not cover the consequences of calling twice or what to do if the secret is lost, but the one-time disclosure is the key fact.

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 purpose and the one-time-secret warning are front-loaded and the whole definition is four sentences with no filler. The opening fragment 'Performance ads.' is a terse, slightly cryptic lead-in that doesn't clearly parse as a scope statement.

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 two-optional-parameter creation tool with no output schema, the description covers the action, the returned fields, and the critical one-time-secret constraint. Minor gaps remain around permissions/account requirements and recovery guidance, but nothing essential to correct invocation is missing.

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 description coverage is 100% and both parameters (label, api_key) are documented in the schema, including the Bearer-header alternative. The description adds no parameter-level meaning beyond the schema, so the baseline of 3 applies.

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 and resource ('Creates the credential your server signs its conversion events with') and enumerates the returned fields (credential.key_id, signing_secret_hex, postback_token). The verb 'creates' implicitly distinguishes it from the revoke/rotate/list siblings, but no sibling is named explicitly, so differentiation is left to inference.

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 first step of a Performance ad' gives clear ordering context telling the agent when this tool belongs in a workflow. It stops short of naming alternatives such as rotate_event_credential or list_event_credentials, or stating when this tool should not be used (e.g., an existing credential already exists).

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