Skip to content

Add get_adcp_capabilities tool and upgrade to ADCP 3.2.0#46

Merged
bokelley merged 3 commits intomainfrom
bokelley/add-get-adcp-capabilities
Feb 4, 2026
Merged

Add get_adcp_capabilities tool and upgrade to ADCP 3.2.0#46
bokelley merged 3 commits intomainfrom
bokelley/add-get-adcp-capabilities

Conversation

@bokelley
Copy link
Contributor

@bokelley bokelley commented Feb 4, 2026

Summary

  • Add get_adcp_capabilities MCP tool that returns agent's ADCP version and supported protocols
  • Upgrade ADCP library to 3.2.0 for creative protocol support
  • Maintain backward compatibility with 2.5.x clients via assets_required field
  • Add 7 spec-first tests for the new tool validating ADCP schema compliance

Test plan

  • All 272 existing tests pass
  • New 7 tests for get_adcp_capabilities all pass
  • Backward compatibility test ensures assets_required is present for older clients
  • Local ruff, mypy, and pre-commit hooks all pass

🤖 Generated with Claude Code

bokelley and others added 3 commits February 4, 2026 06:10
- Add get_adcp_capabilities MCP tool returning agent's ADCP protocol version and supported protocols (creative)
- Upgrade ADCP library from 3.1.0 to 3.2.0 for creative protocol support
- Remove obsolete assets_required backfill since 3.2.0 uses unified assets field with required flag
- Add backward compatibility for 2.5.x clients by including assets_required in list_creative_formats response
- Add spec-first tests for get_adcp_capabilities with 7 test cases validating ADCP schema compliance

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
- Remove orphaned comment in standard_formats.py
- Fix docstring to mention creative protocol instead of media_buy
- Add test for unsupported protocol filter edge case

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
The Adcp type expects MajorVersion objects, not raw integers.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
@bokelley bokelley merged commit 6f51048 into main Feb 4, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments