Skip to main content
Glama

What moves a place in Google Maps and AI answers

get_ranking_factors
Read-onlyIdempotent

Maps Agent's published summary of what moves a local business up in Google Maps results (scope maps) or into AI assistants' answers (scope ai_answers), each factor with its method and public sources. Good for 'what matters most for ranking on Google Maps' or 'how does a business get into ChatGPT answers'. When the summary for a scope is not published yet, says so and returns the closest published pages to read with fetch.

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": "get_ranking_factors"
  }
}

Input Schema

NameRequiredDescriptionDefault
partNoWhich part to read, starting at 1. The first part gives the contents of a longer page.
scopeNomaps (default): the place in Google Maps and the local pack. ai_answers: being named in AI assistants' answers.
detailNostructured (default): the markdown is in the text block and in structuredContent.body_markdown. text: only in the text block.

Output Schema

NameRequiredDescriptionDefault
idNoThe page's id for fetch: its full URL.
urlNoThe page on maps-agent.com — cite it.
faqsNoThe page's FAQ, also at the end of body_markdown.
formNoThe page's form.
partNoThe part returned, starting at 1.
slugNoIts slug inside the form.
factsNoSource confidence and reading date for registry facts cited by the page. A long fact list continues with part.
scopeYes
termsYesThe terms this answer is given under: quote with a link to the page; a copy of the base needs an agreement.
titleNoThe page title.
topicNoGrouping inside the form: answer cluster, guide kind, trade, blog vertical.
methodNoHow the numbers were measured.
resultsNoWhen published is false: the closest published pages.
sourcesNoThe sources the page cites; `key` is the footnote marker [^key] in body_markdown.
summaryNoOne or two plain sentences: the page's description or opening.
updatedNoThe page's own last-updated day, YYYY-MM-DD.
contentsNoHeadings from a longer article, returned in the first part.
publishedYesfalse: Maps Agent has not published the summary for this scope yet; results lists the closest pages.
total_partsNoUse part to read further when the page spans multiple parts.
markdown_urlNoThe page's markdown twin.
body_markdownNoMarkdown for this part of the page, the same as the text block. Omitted when detail is text.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / facts / description
      Previous value: -"Source confidence and reading date for registry facts cited by the page."New value: +"Source confidence and reading date for registry facts cited by the page. A long fact list continues with part."
  2. Added

TDQS

A4.3/5.0
Behavior4/5

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

Beyond the annotations (readOnlyHint, idempotentHint, openWorldHint=false), the description discloses that each factor includes its method and public sources, and that an unpublished summary returns a notice plus the closest published pages to read with fetch. This adds meaningful behavioral context for a read-only retrieval tool.

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?

The description front-loads the core resource description, then provides usage examples, then explains the fallback behavior. It is two-to-three sentences with no redundant or filler wording.

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

Completeness5/5

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

Given the tool's moderate complexity, the presence of an output schema, and 100% schema description coverage, the description supplies everything an agent needs: purpose, scope distinctions, usage scenarios, and fallback routing. No critical invocation detail is missing.

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

Parameters3/5

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

Schema description coverage is 100%, so the schema already fully documents part, scope, and detail. The description reinforces the two scope values but does not add syntax, defaults, or other meaning beyond what the input schema provides, so the baseline 3 applies.

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?

The description states a specific resource: Maps Agent's published summary of ranking factors for two scopes (Google Maps results and AI assistant answers), including method and public sources. It clearly distinguishes the two scopes and the tool's purpose without requiring knowledge of siblings.

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?

It gives concrete usage examples such as 'what matters most for ranking on Google Maps' and 'how does a business get into ChatGPT answers', and it explains the fallback path when a scope summary is unpublished, pointing to fetch. It does not explicitly exclude other research tools like get_research, but the context is strong.

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