Skip to content

Alias echo stamps adcp_version into closed compact 3.2 responses #2007

Backlog

Description

@bokelley

For an aliased request (3.2-rc.7) the SDK writes the alias into the response's adcp_version before validation (server/mcp_tools.py:4659-4663). The compact 3.2 response roots of list_products, control_media_buy and buy_products set additionalProperties:false and don't declare adcp_version, so a 3.2-rc.7 caller of those tools gets a response-validation failure. Sellers have to rewrite 3.2-rc.7 → 3.2 in a pre-validation hook for those three tools.

The echo policy is also inconsistent: requests with no alias get no adcp_version on any response (capabilities included), so "echo the caller's version" only holds for aliases.

Ask: never stamp a field the target response schema forbids, and document one echo rule (spec issue: adcontextprotocol/adcp#9370).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions