Skip to main content
Glama

Add Client POIs

add_client_pois
Destructive

Add points of interest to a client (mode "append", default) or replace the whole set (mode "replace" — confirm first). Each POI takes a name, type, and a location given as a plain address (geocoded automatically — easiest), lat/long, or a Google Maps url. Great for bulk-adding nearby anchors/competitors/transit (e.g. "add all Cracker Barrels in Utah as POIs, type Cracker Barrel"). To GET those locations, call search_places first and pass its rows straight through (it returns exact coordinates, so no geocoding is needed). If search_places reported truncated:true, tell the user the set is partial BEFORE writing it. The result carries a "geo" block counting how many POIs were mapped; any listed under unmapped_pois were saved but draw NO marker — relay those names to the user, get a Maps link or full street address for each, and write the set back with mode: "replace". Enforces participation. This is also how you EDIT an existing POI (there is no update tool) and how you delete one: read with list_client_pois, change or drop entries, and write the whole set back with mode: replace. POIs you are not touching may be passed back exactly as listed — their icon overrides and trade areas survive verbatim.

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": {
      "client_id": "<client_id>",
      "pois": "<pois>"
    },
    "name": "add_client_pois"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNo"append" (default) adds to the existing list; "replace" overwrites ALL existing POIs — confirm before using replace.append
poisYesThe points of interest to add.
client_idYesThe prospectid (client id) to add points of interest to.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only declare destructiveHint=true and non-read-only; the description goes far beyond by explaining the returned "geo" block, the unmapped_pois bucket (saved but no marker), the remediation loop of supplying a Maps link or street address and re-writing with mode:replace, that participation is enforced, and that untouched POIs preserve icon overrides and trade areas. That is substantial behavior beyond the annotation surface.

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?

Dense but front-loaded: the mode decision comes first, then the location options, then the search_places workflow, then the geo/unmapped remediation, then edit/delete. A few clauses are longer than necessary (the em-dash aside on confirm-first, the parenthetical example), but nearly every sentence carries actionable information.

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?

For a destructive, no-output-schema write tool, the description covers what gets overwritten, how results are reported (geo block, unmapped_pois), how to recover from unmapped entries, and how to perform edits and deletes in the absence of dedicated tools. Nothing material an agent needs to call this correctly is missing.

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 100%, so the baseline is 3, but the description adds operational meaning: the three acceptable location forms and that address geocoding is the easiest path, that search_places rows can be passed straight through without geocoding, and that existing POIs can be echoed back verbatim so their overrides survive. These are workflow semantics the schema fields alone do not convey.

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+resource (add points of interest to a client) and immediately distinguishes the two modes, append vs replace. It also explicitly frames itself against siblings by noting there is no update tool and pointing to list_client_pois for reading. An agent can tell exactly what this tool does without opening the schema.

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 explicit routing: call search_places first to obtain locations and pass its rows straight through, use list_client_pois to read before editing or deleting, and confirm with the user before mode "replace". It also states a conditional guard — if search_places reported truncated:true, warn the user before writing. When-to-use, when-not, and alternatives are all covered.

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