Skip to main content
Glama

PixelFlow

Get event details

get_event_payloads
Read-onlyIdempotent

Get the payload (request body) PixelFlow sent to each ad platform for up to 25 events by id. Each event lists every pixel it was sent to, with that payload and any error. The IP address in a payload is a hash, not the address itself. Name, email and phone are hashed, as the ad platforms receive them. Use it to see exactly what was sent for an event from list_events, or why an ad platform rejected it.

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": {
      "site_id": "<site_id>",
      "ids": "<ids>"
    },
    "name": "get_event_payloads"
  }
}

Input Schema

NameRequiredDescriptionDefault
idsYesRow `id` values from list_events.
site_idYesSite to act on, as returned by list_sites.
timezoneNoIANA time zone such as Europe/Berlin. Default UTC. Returned times and day buckets use it.

Output Schema

NameRequiredDescriptionDefault
eventsYesOne per id found, in the order of `ids`.
timezoneYesIANA time zone used for times.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / events / items / properties / pixels / items / properties / reason / description
      Previous value: -"Why the send is failed, skipped or pending. null when delivered."New value: +"Why the send is failed, skipped or pending. When delivered, a note from the ad platform or null."
  2. Changed2 schema fields changed
    • removedInput schema / properties / include_ip
      Removed value: -{
      -  "description": "Whether to return the full IP address inside the payload. Default false, which keeps only the first three IPv4 octets or the IPv6 /48 and replaces the rest with x. Use only when the user asks for the full address.",
      -  "type": "boolean"
      -}
    • changedOutput schema / properties / events / items / properties / pixels / items / properties / payload / description
      Previous value: -"Payload (request body) sent to the ad platform, as stored. IP masked unless include_ip. null when no payload is stored, such as a skipped send, a send that failed before dispatch or an event older than payload retention."New value: +"Payload (request body) sent to the ad platform, as stored. The IP address is a hash. null when no payload is stored, such as a skipped send, a send that failed before dispatch or an event older than payload retention."
  3. Changed6 schema fields changed
    • changedOutput schema / properties / events / items / properties / pixels / description
      Previous value: -"One per pixel the event was sent to, including pixels deleted since. Empty when the event was not sent to any pixel."New value: +"One per pixel the event was sent to or skipped for, including pixels deleted since. Empty when the event has no pixel."
    • changedOutput schema / properties / events / items / properties / pixels / items / properties / payload / description
      Previous value: -"Payload (request body) sent to the ad platform, as stored. IP masked unless include_ip. null when no payload is stored, such as a send that failed before dispatch or an event older than payload retention."New value: +"Payload (request body) sent to the ad platform, as stored. IP masked unless include_ip. null when no payload is stored, such as a skipped send, a send that failed before dispatch or an event older than payload retention."
    • addedOutput schema / properties / events / items / properties / pixels / items / properties / reason
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "Why the send is failed, skipped or pending. null when delivered."
      +}
    • changedOutput schema / properties / events / items / properties / pixels / items / properties / state / description
      Previous value: -"Send status, as in list_events."New value: +"Send status. delivered: the ad platform confirmed it. pending: waiting to be sent, or sent and not confirmed yet. failed: the ad platform rejected it or it could not be sent. skipped: not sent on purpose, because the ad platform cannot use it."
    • changedOutput schema / properties / events / items / properties / pixels / items / properties / state / enum
      Previous value: -[
      -  "sent",
      -  "failed",
      -  "pending"
      -]New value: +[
      +  "pending",
      +  "delivered",
      +  "failed",
      +  "skipped"
      +]
    • changedOutput schema / properties / events / items / properties / pixels / items / required
      Previous value: -[
      -  "pixel_id",
      -  "name",
      -  "ad_platform",
      -  "state",
      -  "error",
      -  "payload"
      -]New value: +[
      +  "pixel_id",
      +  "name",
      +  "ad_platform",
      +  "state",
      +  "reason",
      +  "error",
      +  "payload"
      +]
  4. Changed7 schema fields changed
    • addedOutput schema / properties / events / items / properties / pixels / items / properties / ad_platform / anyOf
      Added value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / events / items / properties / pixels / items / properties / ad_platform / type
      Removed value: -[
      -  "string",
      -  "null"
      -]
    • addedOutput schema / properties / events / items / properties / pixels / items / properties / error / anyOf
      Added value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / events / items / properties / pixels / items / properties / error / type
      Removed value: -[
      -  "string",
      -  "null"
      -]
    • removedOutput schema / properties / events / items / properties / pixels / items / properties / payload / additionalProperties
      Removed value: -true
    • addedOutput schema / properties / events / items / properties / pixels / items / properties / payload / anyOf
      Added value: +[
      +  {
      +    "additionalProperties": true,
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / events / items / properties / pixels / items / properties / payload / type
      Removed value: -[
      -  "object",
      -  "null"
      -]
  5. Changed10 schema fields changed
    • changedInput schema / properties / ids / description
      Previous value: -"Event ids from list_events. At most 25"New value: +"Row `id` values from list_events."
    • changedInput schema / properties / ids / items / type
      Previous value: -"number"New value: +"integer"
    • addedInput schema / properties / ids / minItems
      Added value: +1
    • changedInput schema / properties / include_ip / description
      Previous value: -"True returns the IP whole. Omitted keeps the first three IPv4 octets, or the IPv6 /48"New value: +"Whether to return the full IP address inside the payload. Default false, which keeps only the first three IPv4 octets or the IPv6 /48 and replaces the rest with x. Use only when the user asks for the full address."
    • removedInput schema / properties / include_sent
      Removed value: -{
      -  "description": "True adds the body sent to each Pixel and that Pixel response",
      -  "type": "boolean"
      -}
    • removedInput schema / properties / site
      Removed value: -{
      -  "description": "Domain, id, or external id from list_sites",
      -  "type": "string"
      -}
    • addedInput schema / properties / site_id
      Added value: +{
      +  "description": "Site to act on, as returned by list_sites.",
      +  "type": "integer"
      +}
    • changedInput schema / properties / timezone / description
      Previous value: -"IANA timezone. Omitted means UTC, and the response says UTC"New value: +"IANA time zone such as Europe/Berlin. Default UTC. Returned times and day buckets use it."
    • changedInput schema / required
      Previous value: -[
      -  "site",
      -  "ids"
      -]New value: +[
      +  "site_id",
      +  "ids"
      +]
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "events": {
      +      "description": "One per id found, in the order of `ids`.",
      +      "items": {
      +        "additionalProperties": false,
      +        "description": "One event.",
      +        "properties": {
      +          "event": {
      +            "description": "The event recorded, such as Purchase.",
      +            "type": "string"
      +          },
      +          "id": {
      +            "description": "Row id from list_events.",
      +            "type": "integer"
      +          },
      +          "pixels": {
      +            "description": "One per pixel the event was sent to, including pixels deleted since. Empty when the event was not sent to any pixel.",
      +            "items": {
      +              "additionalProperties": false,
      +              "description": "One send.",
      +              "properties": {
      +                "ad_platform": {
      +                  "description": "The pixel, as in list_events.",
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "error": {
      +                  "description": "Error stored for this send. Set only on a real failure.",
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "name": {
      +                  "description": "The pixel, as in list_events.",
      +                  "type": "string"
      +                },
      +                "payload": {
      +                  "additionalProperties": true,
      +                  "description": "Payload (request body) sent to the ad platform, as stored. IP masked unless include_ip. null when no payload is stored, such as a send that failed before dispatch or an event older than payload retention.",
      +                  "type": [
      +                    "object",
      +                    "null"
      +                  ]
      +                },
      +                "pixel_id": {
      +                  "description": "The pixel, as in list_events.",
      +                  "type": "integer"
      +                },
      +                "state": {
      +                  "description": "Send status, as in list_events.",
      +                  "enum": [
      +                    "sent",
      +                    "failed",
      +                    "pending"
      +                  ],
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "pixel_id",
      +                "name",
      +                "ad_platform",
      +                "state",
      +                "error",
      +                "payload"
      +              ],
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "time": {
      +            "description": "Arrival time.",
      +            "format": "date-time",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "id",
      +          "time",
      +          "event",
      +          "pixels"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "timezone": {
      +      "description": "IANA time zone used for times.",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "timezone",
      +    "events"
      +  ],
      +  "type": "object"
      +}
  6. First observed

TDQS

A4.3/5.0
Behavior4/5

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

The annotations already declare readOnlyHint, idempotentHint, non-destructive and openWorldHint=false, so the safety profile is covered. The description adds genuinely useful context beyond them: the 25-event cap, per-pixel error reporting, and the fact that IP, name, email and phone are hashed exactly as the ad platforms received them.

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

Conciseness5/5

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

It is front-loaded with the core action and scope, then layers the return shape, the hashing caveat, and the use case in four tight sentences. Every sentence carries information an agent needs; nothing is redundant.

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?

An output schema exists, yet the description still sketches the response shape (per-pixel payload plus error) at the right level of detail. Combined with annotations covering safety and a fully documented schema, an agent has everything needed to call this correctly.

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%, so all three parameters are already documented, including ids coming from list_events and the IANA timezone. The description only restates the id source and the 25-event limit; it adds nothing about the timezone parameter or id format, so the baseline of 3 applies.

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 states a specific verb and resource ('Get the payload (request body) PixelFlow sent to each ad platform') and bounds the scope ('up to 25 events by id'). It also distinguishes itself from the sibling list_events, which is named as the source of the ids.

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?

It gives an explicit when-to-use clause: 'Use it to see exactly what was sent for an event from list_events, or why an ad platform rejected it.' That routes the agent to list_events for discovery and to this tool for inspection, though it does not say when not to use it.

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.