google-ads-mcp-python 0.1.1__tar.gz → 0.2.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {google_ads_mcp_python-0.1.1 → google_ads_mcp_python-0.2.0}/PKG-INFO +1 -1
- {google_ads_mcp_python-0.1.1 → google_ads_mcp_python-0.2.0}/pyproject.toml +1 -1
- {google_ads_mcp_python-0.1.1 → google_ads_mcp_python-0.2.0}/src/ads_mcp/tools/core.py +10 -1
- {google_ads_mcp_python-0.1.1 → google_ads_mcp_python-0.2.0}/src/ads_mcp/tools/search.py +8 -0
- {google_ads_mcp_python-0.1.1 → google_ads_mcp_python-0.2.0}/src/ads_mcp/__init__.py +0 -0
- {google_ads_mcp_python-0.1.1 → google_ads_mcp_python-0.2.0}/src/ads_mcp/coordinator.py +0 -0
- {google_ads_mcp_python-0.1.1 → google_ads_mcp_python-0.2.0}/src/ads_mcp/gaql_resources.txt +0 -0
- {google_ads_mcp_python-0.1.1 → google_ads_mcp_python-0.2.0}/src/ads_mcp/mcp_header_interceptor.py +0 -0
- {google_ads_mcp_python-0.1.1 → google_ads_mcp_python-0.2.0}/src/ads_mcp/server.py +0 -0
- {google_ads_mcp_python-0.1.1 → google_ads_mcp_python-0.2.0}/src/ads_mcp/update_references.py +0 -0
- {google_ads_mcp_python-0.1.1 → google_ads_mcp_python-0.2.0}/src/ads_mcp/utils.py +0 -0
|
@@ -15,6 +15,9 @@
|
|
|
15
15
|
"""Tools for exposing simple, core API methods to the MCP server."""
|
|
16
16
|
|
|
17
17
|
from typing import List
|
|
18
|
+
|
|
19
|
+
from mcp.types import ToolAnnotations
|
|
20
|
+
|
|
18
21
|
from ads_mcp.coordinator import mcp
|
|
19
22
|
|
|
20
23
|
import ads_mcp.utils as utils
|
|
@@ -24,7 +27,13 @@ from google.ads.googleads.v21.services.types.customer_service import (
|
|
|
24
27
|
)
|
|
25
28
|
|
|
26
29
|
|
|
27
|
-
@mcp.tool(
|
|
30
|
+
@mcp.tool(
|
|
31
|
+
annotations=ToolAnnotations(
|
|
32
|
+
readOnlyHint=True,
|
|
33
|
+
idempotentHint=True,
|
|
34
|
+
openWorldHint=True,
|
|
35
|
+
)
|
|
36
|
+
)
|
|
28
37
|
def list_accessible_customers() -> List[str]:
|
|
29
38
|
"""Returns ids of customers directly accessible by the user authenticating the call."""
|
|
30
39
|
ga_service = utils.get_googleads_service("CustomerService")
|
|
@@ -15,6 +15,9 @@
|
|
|
15
15
|
"""Tools for exposing the API Search method to the MCP server."""
|
|
16
16
|
|
|
17
17
|
from typing import Any, Dict, List
|
|
18
|
+
|
|
19
|
+
from mcp.types import ToolAnnotations
|
|
20
|
+
|
|
18
21
|
from ads_mcp.coordinator import mcp
|
|
19
22
|
import ads_mcp.utils as utils
|
|
20
23
|
|
|
@@ -123,4 +126,9 @@ mcp.add_tool(
|
|
|
123
126
|
search,
|
|
124
127
|
title="Fetches data from the Google Ads API using the search method",
|
|
125
128
|
description=_search_tool_description(),
|
|
129
|
+
annotations=ToolAnnotations(
|
|
130
|
+
readOnlyHint=True,
|
|
131
|
+
idempotentHint=True,
|
|
132
|
+
openWorldHint=True,
|
|
133
|
+
)
|
|
126
134
|
)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{google_ads_mcp_python-0.1.1 → google_ads_mcp_python-0.2.0}/src/ads_mcp/mcp_header_interceptor.py
RENAMED
|
File without changes
|
|
File without changes
|
{google_ads_mcp_python-0.1.1 → google_ads_mcp_python-0.2.0}/src/ads_mcp/update_references.py
RENAMED
|
File without changes
|
|
File without changes
|