google-ads-mcp-python 0.1.0__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: google-ads-mcp-python
3
- Version: 0.1.0
3
+ Version: 0.2.0
4
4
  License-Expression: Apache-2.0
5
5
  Requires-Dist: google-ads>=28.0.0
6
6
  Requires-Dist: mcp[cli]>=1.2.0
@@ -4,7 +4,7 @@ build-backend = "uv_build"
4
4
 
5
5
  [project]
6
6
  name = "google-ads-mcp-python"
7
- version = "0.1.0"
7
+ version = "0.2.0"
8
8
  requires-python = ">=3.10"
9
9
  license = "Apache-2.0"
10
10
  dependencies = [
@@ -26,3 +26,6 @@ issues = "https://github.com/locomotive-agency/google-ads-mcp/issues"
26
26
  [project.scripts]
27
27
  google-ads-mcp = "ads_mcp.server:run_server"
28
28
  google-ads-mcp-update-gaql = "ads_mcp.update_references:update_gaql_resource_file"
29
+
30
+ [tool.uv.build-backend]
31
+ module-name = "ads_mcp"
@@ -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
  )