Skip to main content
Glama

Submit review data inline

submit_reviews

Submit the review feed inside the tool call. Without submission_id this is a one-shot submission of the whole payload (fine up to about 150 reviews). For more, call begin_submission, then send chunks of up to 150 reviews each with the same submission_id and final=false; send final=true with the last chunk (the identity fields may arrive with any chunk). Use this only when you cannot POST to the upload_url yourself (no page fetch, no curl): retyping reviews you already hold in a page or script is slow and error-prone. Returns the trust report when finalized.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "submit_reviews"
  }
}

Input Schema

NameRequiredDescriptionDefault
cidNoDecimal cid from a ?cid= link, when placeId is unknown.
latNo
lonNo
nameNo
sortNoThe order collected in: 'newest' (required for a window) or 'relevant'.
agentNoYour agent/product name, recorded as the submission's provenance (e.g. 'Muse', 'Claude Code').
finalNoWith submission_id: true when this is the last chunk (default true).
cappedNoTrue when deliberately stopped at 5000+ reviews of a much larger listing.
addressNo
mapsUrlNo
placeIdNoGoogle feature id 0x…:0x…
reviewsNo
completeNoTrue only if the review list reached its end; false for a newest-first window of the 500 most recent reviews (at least 200).
platformNoWhich review source the data follows (describe_review_source).
pulledAtNoISO 8601 datetime of collection (relative dates are resolved against it).
takeawaysNoOptional: your summary of the reviews you collected, shown on the place's page (never scored). Three lists of up to 6 short plain-English sentences, drawn from reviews by established accounts: pros (what recent reviewers praise), cons (what they complain about), tips (practical advice: what to order, when to go, what to avoid). Or send it after finalizing with submit_takeaways.
listedRatingNoThe star rating Google displays.
listedReviewsNoThe review count Google displays on the listing.
submission_idNoFrom begin_submission (omit for a one-shot submission).
ratingHistogramNoThe five-bar rating histogram next to the star rating, as review counts for 1, 2, 3, 4 and 5 stars IN THAT ORDER (Google draws 5 stars first; reverse what you read). Each bar's accessibility label or tooltip has the exact count. Required with a window or capped feed.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / takeaways
      Added value: +{
      +  "description": "Optional: your summary of the reviews you collected, shown on the place's page (never scored). Three lists of up to 6 short plain-English sentences, drawn from reviews by established accounts: pros (what recent reviewers praise), cons (what they complain about), tips (practical advice: what to order, when to go, what to avoid). Or send it after finalizing with submit_takeaways.",
      +  "properties": {
      +    "cons": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "pros": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "tips": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "type": "object"
      +}
  2. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Goes beyond the annotations (readOnlyHint=false, idempotentHint=false, destructiveHint=false) by describing the multi-call protocol, the default of final=true, and the return value ('the trust report when finalized'). It does not state what happens on validation failure or whether resubmitting the same submission_id duplicates data, which matters given idempotentHint=false.

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

Conciseness5/5

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

Four sentences, front-loaded with the core action and mode distinction, then the fallback condition. No filler or repeated schema content; every clause carries routing or protocol information the agent needs.

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 20-parameter, zero-required, nested-object tool with no output schema, the description covers the chunking lifecycle, the when-not-to-use condition, and the return value. It leaves error/retry behavior and validation failure handling unstated, which is a real gap for a non-idempotent write tool.

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 70%, and the description adds genuinely new semantics for the orchestration parameters: submission_id selects one-shot versus chunked mode, final marks the last chunk, and identity fields may be sent with any chunk. It says nothing about the dozen-plus other parameters (capped, complete, sort, takeaways), though those are mostly self-documented in the schema.

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

Purpose5/5

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

Opens with a specific verb and resource ('Submit the review feed inside the tool call') and immediately separates the two modes: one-shot submission when submission_id is absent versus chunked submission when it is present. The sibling begin_submission is named and its role in the chunked flow is spelled out, so an agent can distinguish this tool from the surrounding submission lifecycle.

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

Usage Guidelines5/5

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

Gives an explicit precondition for use: 'Use this only when you cannot POST to the upload_url yourself (no page fetch, no curl)', plus the rationale that retyping is slow and error-prone. It also routes the agent between one-shot and chunked paths with a concrete chunk size (150) and the final=true signaling rule, and notes identity fields may arrive with any chunk.

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.

Resources