Skip to main content
Glama

Goodword AI

Compare with the block

compare_block
Read-only

List up to 20 same-category businesses nearby in the order Google ranks them by popularity, with rating and review count, marking the given business.

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": {
      "place_id": "<place_id>"
    },
    "name": "compare_block"
  }
}

Input Schema

NameRequiredDescriptionDefault
place_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, so safety is covered. The description still adds real behavioral detail the annotations do not: a hard cap of 20 results, popularity-based ordering rather than distance or rating, the fields returned (rating, review count), and that the target business is flagged in the result set.

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?

One dense sentence, front-loaded with the result shape (count and ordering) before the secondary detail about marking the given business. No filler and nothing that could be cut without losing information.

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 read-only, one-parameter tool with no output schema, the description covers the result size, ordering rule, returned fields and the marking behavior, which is most of what an agent needs. Edge cases such as a business with no category or an empty nearby set are not addressed.

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?

The single parameter has 0% schema description coverage, so the description carries the burden. 'Marking the given business' makes clear that place_id identifies which business is highlighted within the comparison set, which is meaningful semantics for a one-param tool, though the expected ID format and error behavior for unknown IDs remain unstated.

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?

Names a specific verb ('List') and resource ('same-category businesses nearby'), plus concrete scope details: capped at 20, ordered by Google popularity, with rating and review count, and the given business marked. That is more than enough to separate it from check_listing or find_business, though it never names a sibling or states the contrast explicitly.

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

Usage Guidelines3/5

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

The comparative intent is only implied by the tool name and the 'marking the given business' clause; the description never states when to reach for this instead of find_business or check_listing, nor any precondition such as the business needing a known category.

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