Skip to main content
Glama

List locations

list_locations
Read-onlyIdempotent

Lists the organization's locations (Google, Facebook, CSV-imported and demo) with their client workspace, sync status, whether replies can be published, and the Google connection state.

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

Input Schema

NameRequiredDescriptionDefault
client_idNoOnly locations of this agency client workspace
include_inactiveNoInclude locations that are no longer tracked

Output Schema

NameRequiredDescriptionDefault
noteNo
itemsYes
totalYes
googleYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds useful context about the data surfaced (sync status, publish eligibility, Google connection state) and the location sources, but says nothing about ordering, volume, or pagination for what could be a large list.

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?

A single front-loaded sentence that leads with the verb and resource and then enumerates the returned attributes. The parenthetical source list (Google, Facebook, CSV-imported, demo) is dense but earns its place by defining what counts as a location.

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?

With an output schema present, the description needn't explain return values in detail, and annotations cover the safety profile. It is complete enough for a two-parameter read-only list tool, with only minor gaps around result volume and default active/inactive behavior.

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 both client_id and include_inactive are fully documented in the schema with defaults. The description adds no filtering semantics of its own, so the baseline 3 applies.

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 ('Lists the organization's locations') and enumerates what each entry carries: client workspace, sync status, reply-publishing capability, and Google connection state. The resource is distinct enough from the list_* siblings that no explicit routing is needed, but the description never differentiates itself from them.

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

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance, no mention of when to scope by client workspace versus listing everything, and no reference to any alternative tool. The usage is only implied by the name and the word 'Lists'.

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