Connections and account
Tools for the Microsoft Ads connection itself: whether it works, which account it uses, who it is shared with, billing, and feedback to the Hopkin team. Your assistant reaches for these on its own when something needs fixing.
Check auth status
Checks whether your Microsoft Ads connection works and which profile it signs in as. Useful when another question fails with a permission error.
Full tool description
THE tool for questions about Microsoft Ads authentication and connection status. Returns: - Whether the user has a connected Microsoft Ads OAuth token - Whether MICROSOFT_ADS_DEVELOPER_TOKEN is configured on the server (a server-side requirement that no data tool can report) - Microsoft Ads user info (name, login) when authenticated - List of all accessible ad accounts when authenticated Call this tool directly whenever the user's question IS about auth/connection/token status — e.g. "Am I authenticated?", "Is my Microsoft Ads account connected?", "Check my connection", "Diagnose my auth / MISSING_DEVELOPER_TOKEN error". It is the authoritative connection check and reports the developer-token configuration, which microsoft_ads_list_accounts cannot. Do NOT substitute a data tool like list_accounts to "prove" a connection when the user explicitly asked about auth status. Do NOT call it proactively before a data request the user actually made: if the user asks for their accounts/campaigns/etc., call that data tool directly, and only fall back to this tool reactively if the data tool fails with an auth or permission error (codes 105 InvalidCredentials, 106 UserIsNotAuthorized, 109 AuthenticationTokenExpired). Code 117 is rate limiting, not auth — wait and retry instead.
- Is my Microsoft Ads connection working?
| Name | Type | Description |
|---|---|---|
connection_id | string | Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs. |
Billing status
Explains why Hopkin refused a request for billing: your plan, trial end, credits used and left, and a link to the billing page.
Full tool description
Why a call was refused with a billing error (402) and how to get unblocked. Reports whether this organization is entitled, its subscription status, tier, trial end, credits used and left this period, the price table and a link to the billing page. With checkout_tier, the organization owner also gets a Stripe Checkout link for that plan; a member gets the owner's contact and a message to forward. Call it after any 402. While waiting for a human to pay, poll it every 10 seconds for the first minute, every 30 seconds until 5 minutes, then every 60 seconds until 15 minutes, then stop and tell the human. Once it returns entitled: true, retry the blocked call; if the retry still returns 402, wait 15 seconds and retry once. A Checkout link is a payment link: give it to the organization owner only.
- Why was my request refused for billing?
- How many credits do we have left this month?
| Name | Type | Description |
|---|---|---|
checkout_tier | string | Organization owner only: also create a Stripe Checkout link for this plan. A member gets the owner's contact and a message to forward instead. |
List connections
The Microsoft Ads connections you can use: your own, and ones teammates share with your organization.
Full tool description
List the Microsoft Ads connections available to you — both ones you own and ones shared with you via an organization. Use this to discover connection IDs for set_default / share / rename / revoke.
- Which Microsoft Ads connections can I use?
Takes no inputs.
Set default connection
Chooses which Microsoft Ads connection your questions use unless you name another.
Full tool description
Set the Microsoft connection that should be used by default for subsequent Microsoft Ads tool calls. The default is scoped to the calling actor (your user account, or the API key being used).
- Use the agency connection for Microsoft Ads from now on.
| Name | Type | Description |
|---|---|---|
connection_id required | string | UUID of the connection to mark as the actor's default Microsoft connection. |
Rename connection
Changes the label on a Microsoft Ads connection you own. The account behind it stays the same.
Full tool description
Rename the display name of an owned Microsoft connection. The OAuth grant and underlying account are unaffected — this only changes the human-readable label. You must be the owner.
| Name | Type | Description |
|---|---|---|
connection_id required | string | UUID of the connection to rename. You must be the owner. |
display_name required | string | New human-readable name for the connection. |
Revoke connection
Removes a Microsoft Ads connection you own from Hopkin. It does not withdraw the access you granted at Microsoft Ads itself.
Full tool description
Revoke (soft-delete) an owned Microsoft connection. Any defaults pointing to it are invalidated and shared org members lose access. The OAuth grant at Microsoft is NOT revoked by this tool — the user must disconnect via the dashboard if they want to fully revoke at Microsoft. You must be the owner.
| Name | Type | Description |
|---|---|---|
connection_id required | string | UUID of the connection to revoke. You must be the owner. |
Submit MCP developer feedback
Sends the Hopkin team a note about a missing tool, a bug or a gap in what you can ask.
Full tool description
Submit feedback about missing tools, improvements needed, bugs encountered, or workflow gaps discovered while helping a user with Microsoft Advertising data. This is the correct, expected action when a Microsoft Ads capability is missing or broken — reach for it directly rather than just apologizing or giving up. Use this when: - A user request cannot be fulfilled because a tool doesn't exist — set feedback_type='missing_tool' and describe the missing capability and why the user needs it. When the user explicitly asks you to submit/file/report feedback about a gap or missing feature, that is a direct instruction: ALWAYS call this tool to record it. Do this even if you suspect a tool for the capability might already exist — submit the feedback as asked, and you may note the possibly-relevant existing tool inside the feedback message. Do NOT refuse, and do NOT stop at only searching the toolset. - An existing tool returned incorrect or incomplete data — set feedback_type='bug' and include tool_name. - A multi-step workflow is unnecessarily complex due to toolset limitations — feedback_type='workflow_gap'. - You discovered a Microsoft Ads API behaviour that the toolset doesn't handle. Submitting is low-cost and always safe: it records the feedback and returns status=submitted. When in doubt about whether a gap is worth reporting, report it. Do NOT use for: - User-facing API errors (auth errors, account permission errors, rate limits) - Questions about Microsoft Advertising strategy — that's outside this tool's scope - General conversation
| Name | Type | Description |
|---|---|---|
feedback_type required | string | Feedback category: missing_tool (capability gap), improvement (enhance existing), bug (incorrect result), workflow_gap (awkward multi-step), other |
message required | string | Description of the issue or request. Be specific: include what you tried, what the user needed, and why the current toolset fell short. |
tool_name | string | Name of the specific tool involved (e.g. microsoft_ads_list_campaigns). Omit for general feedback or missing-tool requests. |
Ping MCP server
Checks that the Microsoft Ads server is up and answering.
Full tool description
Health check for the Microsoft Ads MCP server. Returns server status and version. No authentication required. Use to verify the server is reachable before calling other tools.
| Name | Type | Description |
|---|---|---|
message | string | Optional message to echo back |