Overview
Theagent_diagnose tool runs comprehensive diagnostics on agents to verify they are properly configured and responding correctly. Use it to troubleshoot integration issues or validate new agent setups.
When to Use Diagnostics
- New agent setup - Validate configuration before using in campaigns
- Integration issues - Troubleshoot connectivity or response problems
- Periodic health checks - Monitor agent availability and compliance
Running Diagnostics
Basic Diagnostic
Agent: Call toolagent_diagnose with body:
Selective Checks
Run only specific checks: Agent: Call toolagent_diagnose with body:
connection- Endpoint reachability and latencytools- ADCP tool presence validationresponses- Response format and content validation (SALES agents only)all- Run all checks (default)
Verbose Mode
Include raw response data for debugging: Agent: Call toolagent_diagnose with body:
Understanding Results
The diagnostic returns factual results about what’s working and what’s not, along with a list of issues found.Connection Check
Reports whether the endpoint is reachable and measures latency:Tools Check
Reports which required and recommended ADCP tools are present:Response Validation (SALES Agents)
For SALES agents, validatesget_products responses:
Issues
Any problems found are listed in theissues array:
issues array means the agent passed all checks.
Agent Type Requirements
Different agent types have different required tools:SALES Agents
Required:get_products- Return available advertising productscreate_media_buy- Create media buy ordersupdate_media_buy- Modify existing orderssync_creatives- Attach creatives to orders
list_authorized_properties- List available inventorylist_creative_formats- Supported creative formatslist_creatives- List available creativesget_media_buy_delivery- Delivery reporting
SIGNAL Agents
Required:get_signals- Retrieve targeting signalsactivate_signal- Enable signal for campaigns
OUTCOME Agents
Required:accept_proposal- Accept outcome measurement proposalsget_outcome_status- Check measurement status
Common Issues
Connection Failed
- Agent endpoint URL is correct
- Agent server is running
- Network/firewall allows connections
- Authentication credentials are valid
Missing Required Tools
- Agent implements all required ADCP tools
- Tool names match ADCP specification exactly
- Agent is returning tools in discovery response
Missing Scope3-Required Fields
- Product responses include Scope3-required fields:
pricing_options,format_ids - These fields are optional in ADCP but required for Scope3 campaign optimization
High Latency
If connection latency exceeds 5 seconds: Check:- Agent server performance
- Network routing between Scope3 and agent
- Consider regional deployment
Best Practices
Run diagnostics after any agent configuration changes to verify the update was successful.
Next Steps
- Set up sales agents for inventory access
- Configure outcome agents for measurement
- Monitor agent health through periodic diagnostics