Skip to main content
Glama

Save a location

locations_save

Make a location, or change one: its name, where it is, who its report is for, and which connected accounts belong to it. Use it when the user has several branches, or posts for several clients. An account belongs to one location at a time. Part of Pro; refused on other plans.

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_save"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoA location id from locations_list, to change that one. Leave out to make a new location.
nameNoWhat the location is called, for example the branch or the client, up to 80 characters. Needed for a new one.
placeNoWhere it is, for example "Hialeah, FL", up to 120 characters.
clientNoWho its report is for, when the user posts for someone else, up to 120 characters.
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.
accountIdsNoThe connected accounts that belong to it, as ids from accounts_list. This replaces the list. An account leaves any other location it was in.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • 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
Behavior1/5

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

The annotations declare destructiveHint=false, implying only additive changes. The description says the account list 'replaces the list' and that 'An account leaves any other location it was in,' which is a destructive update to prior location membership. This directly contradicts the annotation.

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 is four compact sentences, front-loaded with the core action and fields. It includes useful constraints without filler or redundancy.

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 six-parameter upsert tool with no output schema, the description covers purpose, usage conditions, plan gating, account-membership uniqueness, and replacement side effects. Nothing essential for correct invocation is missing from the prose.

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 all six parameters are already documented. The description restates the business meaning of name, place, client, and account membership, but adds little beyond the schema for id and brandId.

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 upsert verb and resource: 'Make a location, or change one,' then enumerates the mutable fields. It clearly distinguishes saving from sibling operations such as locations_delete, locations_list, and locations_report.

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 a usage condition ('when the user has several branches, or posts for several clients') and a plan-level restriction ('Part of Pro; refused on other plans'). It does not explicitly name sibling alternatives, but the context is clear enough for selection.

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.