Skip to content

Add resources for documentation#38

Merged
Raibaz merged 2 commits intomainfrom
resources
Mar 25, 2026
Merged

Add resources for documentation#38
Raibaz merged 2 commits intomainfrom
resources

Conversation

@Raibaz
Copy link
Copy Markdown
Collaborator

@Raibaz Raibaz commented Mar 25, 2026

This adds 4 resources to the MCP server to make the host LLM aware of API documentation:

  • Release notes
  • Metrics
  • Segments
  • API discovery document

It also adds test coverage for each resource and expands the smoke tests to verify the existence of resources.

Change-Id: I07a09ee600945fdd26de8926be73ba35df42a415
@Raibaz Raibaz requested a review from BenRKarl March 25, 2026 13:51
Returns:
str: The discovery document in JSON format.
"""
url = "https://googleads.googleapis.com/$discovery/rest?version=v23"
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a way to pin this to the latest version instead of hardcoding v23?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, the discovery doc url doesn't have anything like latest unfortunately.

Change-Id: I8b722fb63f094f399652dc45f666bb4100cf824e
@Raibaz Raibaz merged commit 7bcc03d into main Mar 25, 2026
8 checks passed
@Raibaz Raibaz deleted the resources branch March 25, 2026 15:16
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.

2 participants