Skip to main content
Glama

Google Business Profile MCP by InsightfulPipe

GMB Data Query

query_data
Read-only

Execute Google My Business data queries (Step 3 FINAL).

Prerequisites: Run query_contexts with request='accounts' (includes available_actions) + request='actions_details' to understand the required payload.

IMPORTANT: The 'body' parameter is a dictionary that must contain ALL fields including:

  • action: Table/action name from available_actions

  • workspace_id: Integer workspace ID

  • brand_id: Integer brand ID

  • location_id: Location identifier

  • Any other fields from the helper response (filters, date ranges, etc.)

Do NOT pass these as separate parameters - they must ALL be inside the body dictionary.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "body": "<body>"
    },
    "name": "query_data"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations declare readOnlyHint=true and openWorldHint=true, so safety profile is covered; the description adds genuinely useful behavior beyond that — a mandatory upstream dependency and a hard constraint that the payload must be nested inside body rather than spread across top-level params. It omits error/failure behavior and whether the external action set is dynamic, which keeps it at 4.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loads the step position, then prerequisites, then payload rules, with a capitalized IMPORTANT block that draws the eye to the main failure mode. The closing 'Do NOT pass these as separate parameters' line restates the heading in slightly different words, a small redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a thin pass-through wrapper over an external API, the description supplies the missing essentials: the prerequisite call chain and the composite shape of body. An output schema exists so return values need not be explained. What is still absent is any sense of valid action values or how unknown actions fail.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0% and the single parameter is an open object with additionalProperties=true, so the description must carry the load — and it does, enumerating action, workspace_id, brand_id, location_id, plus filters and date ranges, with types given for the ID fields. 'Any other fields from the helper response' is the weak spot, leaving the boundary of acceptable keys undefined.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Execute Google My Business data queries') and locates the call as Step 3 FINAL in a workflow, which distinguishes it from the earlier context-gathering step. It does not differentiate itself from the other write-path sibling, execute_action, so it stops short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit prerequisite chain: call query_contexts with request='accounts' (including available_actions) and request='actions_details' first. That is clear sequencing guidance, but it never states when to choose execute_action instead, so the same-payload sibling remains ambiguous.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.