Skip to main content
Glama

List locations

locations_list
Read-only

The locations of this workspace, each with the connected accounts that belong to it, and the accounts that belong to none. To post to a location, use the ids of its accounts as the destinations of the draft. Part of Pro.

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

Input Schema

NameRequiredDescriptionDefault
brandIdNoThe brand this is for, by its id from brands_list. Needed when the login has more than one brand; with one brand it can be left out.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +false
    • addedInput schema / properties / brandId
      Added value: +{
      +  "description": "The brand this is for, by its id from brands_list. Needed when the login has more than one brand; with one brand it can be left out.",
      +  "maxLength": 80,
      +  "minLength": 1,
      +  "type": "string"
      +}
  2. First observed

TDQS

A3.7/5.0
Behavior4/5

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

The annotations already establish that this is a safe read-only, non-destructive, closed-world operation. The description adds useful behavioral context by explaining the grouping of accounts under locations, the inclusion of accounts that belong to no location, and the Pro-plan requirement.

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?

The description is compact and front-loads the returned resource composition, followed by a practical note about using account IDs for drafting. The first sentence is an elliptical fragment and 'Part of Pro' reads as a tacked-on constraint, but there is little wasted text.

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 simple list tool with one optional, fully documented parameter and no output schema, the description sufficiently explains what is returned and how the returned account IDs are used. Minor details such as ordering or pagination are not covered, but they are not essential to selecting or invoking this tool.

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%, and the single optional brandId parameter is fully documented in the schema. The description adds no additional meaning about brandId or how its omission affects results, so the baseline of 3 is appropriate.

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?

The description clearly identifies the resource as the workspace's locations and specifies what each result includes: connected accounts grouped under locations plus unassigned accounts. It is more specific than the title alone, though it uses a noun phrase rather than an explicit verb and does not explicitly distinguish itself from sibling location tools.

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 description implies usage by explaining that account IDs from locations should be used as destinations when posting to a location. It does not state when to prefer this over alternatives such as locations_report or accounts_list, nor does it mention exclusions or prerequisites beyond the 'Part of Pro' note.

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.