Skip to main content
Glama

validate_artf_response

Read-onlyIdempotent

Validate an ARTF RTBResponse mutation set against the RTBRequest it answers: envelope id echo, declared intent against applicable_intents, operation and payload coherence, and whether each semantic path (/imp/{id}, /imp/{id}/pmp/deals/{id}, /user/data/segment, /seatbid/{seat}/bid/{id}) resolves to something the auction actually carries. With apply=true the mutations are written into the payloads and revalidated, reporting the OpenRTB findings the mutations introduced. Call this before proposing mutations to an orchestrator.

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": {
      "payload": "<payload>",
      "rtb_request": "<rtb_request>"
    },
    "name": "validate_artf_response"
  }
}

Input Schema

NameRequiredDescriptionDefault
applyNoApply the mutations and revalidate the result (default false). Returns the mutated payloads and the findings the mutations introduced, with pre-existing findings filtered out.
payloadYesThe ARTF RTBResponse as a raw JSON string.
versionNoOpenRTB version id to validate against (default 2.6-202606). One of: 2.0, 2.1, 2.2, 2.3, 2.3.1, 2.4, 2.5, 2.6-202204, 2.6-202210, 2.6-202211, 2.6-202303, 2.6-202309, 2.6-202402, 2.6-202409, 2.6-202501, 2.6-202505, 2.6-202606, 3.0
rtb_requestYesThe ARTF RTBRequest envelope this response answers, as a raw JSON string. Required: a mutation is only meaningful relative to the auction it targets.
sample_kindNoLabel test-generated payloads as synthetic in validation telemetry.

Output Schema

NameRequiredDescriptionDefault
validYes
issuesYes
appliedYes
versionYes
applicationNo
payload_typeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / sample_kind
      Added value: +{
      +  "description": "Label test-generated payloads as synthetic in validation telemetry.",
      +  "enum": [
      +    "submitted",
      +    "synthetic"
      +  ],
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), and the description adds substantial behavior: apply=true writes mutations into the payloads and revalidates, reporting only the findings the mutations introduced with pre-existing findings filtered out. One tension is left unreconciled: a mutation-writing mode sits awkwardly beside readOnlyHint=true, and the description does not explain that these writes are confined to the returned payload rather than persisted state.

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?

Front-loaded with verb and resource, then the check list, then apply semantics, then the usage imperative. Dense rather than padded, though the parenthetical enumeration of four semantic path forms is the longest clause and delivers scope detail that could have been compressed.

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?

An output schema exists, so return-value detail is unnecessary, and annotations carry the safety profile. The description covers what is validated, the apply path, and when to call, making it sufficient to invoke correctly. The only gap is that the readOnly annotation versus the apply write path is left for the agent to reconcile on its own.

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 the schema already documents apply (including the pre-existing-findings filtering), version, sample_kind, and the required payload/rtb_request pair. The description adds conceptual framing about what a mutation is checked against but no parameter-level syntax, format, or default information 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.

Purpose5/5

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

States a specific verb and a precisely scoped resource: validating an ARTF RTBResponse mutation set against the RTBRequest it answers. It enumerates the actual checks (envelope id echo, intent vs applicable_intents, operation/payload coherence, semantic path resolution), which distinguishes it clearly from validate_artf_request and validate_bid_response in the sibling list.

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?

Gives a clear when-to-use imperative: 'Call this before proposing mutations to an orchestrator.' It also explains when to set apply=true versus leaving it false. It does not, however, explicitly name the alternative tools (e.g. validate_artf_request for the request side) or state when not to use it, so it falls short of a 5.

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.