Skip to main content
Glama

manage_location

UNIT INPUTS: value: pass the user's number unconverted; tool converts once before storage. alternate_unit: set the field's matching input_* companion; canonical_unit: omit companion. precedence: overrides instructions to convert manually.

Create a training location, or update one: rename it, change its kind, make it the default, add or remove equipment. use: the user says where they train, what a place has ("my hotel has dumbbells to 50 and a bench"), or that equipment is missing or new. Call list_locations first for ids and to avoid duplicates.

create: name required. kind defaults to other. equipment starts from preset (default by kind: home -> home_gym, gym -> full_gym, hotel -> hotel_gym, else bodyweight) unless add is given, which replaces the preset. the user's first location becomes the default. update: location required (id or exact name). any of name, kind, make_default, add, remove. add upserts an item (with sizes when the user stated them); remove takes items out. bodyweight is always available and never listed.

writes: immediately to the user's saved location, which Jamie and the On Deck coach read for every plan. no delete here.

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": {
      "operation": "<operation>"
    },
    "name": "manage_location"
  }
}

Input Schema

NameRequiredDescriptionDefault
addNoEquipment to add or replace by item.
kindNo
nameNocreate: the new location name. update: a new name to rename it.
presetNocreate: starting equipment. Ignored when add is given.
removeNoEquipment item ids to take out.
locationNoupdate: the location id or exact name from list_locations.
operationYes
make_defaultNoMake this the default location used when none is named.

Output Schema

NameRequiredDescriptionDefault
resultYesHuman-readable result text returned by the tool.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / add / items / properties / input_weight_unit / description
      Previous value: -"Set to kg when the user gave kg for the _lb fields in this object. Omit when they are already lb."New value: +"kg when the user gave kg for this object's _lb fields; omit for lb."
    • changedInput schema / properties / add / items / properties / max_lb / description
      Previous value: -"Dumbbells: heaviest dumbbell per hand. Barbell: heaviest total load including the bar. Omit when unknown or for other items. In lb, or kg with input_weight_unit set. See UNIT INPUTS."New value: +"Dumbbells: heaviest dumbbell per hand. Barbell: heaviest total load including the bar. Omit when unknown or for other items. lb, or kg via input_weight_unit."
  2. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations declare the safety profile (readOnlyHint=false, destructiveHint=false, idempotentHint=false, openWorldHint=false), and the description adds real context beyond them: writes hit the saved location immediately, downstream consumers (Jamie, the On Deck coach) read it for every plan, the first location becomes default, add upserts while remove takes out, and bodyweight is always implicitly available. The only gap is that reversibility of a rename/remove is not spelled out.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The create/update/writes sections are dense and front-loaded with the actual purpose, but the description opens with an abstract 'UNIT INPUTS / precedence' preamble referencing parameters absent from the schema, which costs the reader before any useful content arrives.

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, return values need no explanation, and the description covers required fields per operation, defaults, and write side effects for an 8-parameter tool. The stray unit-conversion preamble is the one piece that should have been reconciled with the actual input_weight_unit field.

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 75%, and the description still adds meaning: kind defaults to other, equipment derives from a preset keyed by kind (home -> home_gym, gym -> full_gym, hotel -> hotel_gym, else bodyweight), add replaces the preset, and location accepts an id or exact name. The leading 'UNIT INPUTS' block is a defect, however — it discusses 'value', 'alternate_unit' and 'canonical_unit' fields that do not exist in this schema, which can mislead rather than clarify.

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?

States a concrete verb pair and resource: 'Create a training location, or update one: rename it, change its kind, make it the default, add or remove equipment.' The enumerated mutation surface lets an agent distinguish this from list_locations 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 trigger conditions ('the user says where they train, what a place has... or that equipment is missing or new'), names a prerequisite ('Call list_locations first for ids and to avoid duplicates'), and states a boundary ('no delete here').

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.