Skip to main content
Glama

Set a custom field across locations

set_custom_field
DestructiveIdempotent

Put the same extra field on many locations at once: a booking button, a social link, or a labelled fact like "Parking: street only". A value that is a URL becomes a clickable button; anything else shows as plain text. NOT for tags or categories, which are a different thing entirely: use tag_locations for those. Set remove to true to take the field off instead.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keyYesThe field's name, shown as its label. For example "Book a table".
iconNoOptional glyph on the button.
colorNoHex colour for the button, for example "#C2540E". Ignored for plain text.
styleNoDefault filled. Outline uses the colour as border and text only.
valueNoThe field's value. A URL makes it a button, anything else shows as a labelled fact.
removeNoTake this field off the given locations instead of setting it.
locationIdsYesLocation ids to change. At most 200.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / icon / enum
      Previous value: -[
      -  "store",
      -  "shopping-bag",
      -  "shopping-cart",
      -  "coffee",
      -  "utensils",
      -  "wine",
      -  "car",
      -  "truck",
      -  "package",
      -  "fuel",
      -  "circle-parking",
      -  "wifi",
      -  "clock",
      -  "credit-card",
      -  "accessibility",
      -  "dog",
      -  "baby",
      -  "wrench",
      -  "stethoscope",
      -  "pill",
      -  "dumbbell",
      -  "building-2",
      -  "warehouse",
      -  "leaf",
      -  "star"
      -]New value: +[
      +  "store",
      +  "shopping-bag",
      +  "shopping-cart",
      +  "coffee",
      +  "utensils",
      +  "wine",
      +  "car",
      +  "truck",
      +  "package",
      +  "fuel",
      +  "circle-parking",
      +  "wifi",
      +  "clock",
      +  "calendar",
      +  "credit-card",
      +  "accessibility",
      +  "dog",
      +  "baby",
      +  "wrench",
      +  "stethoscope",
      +  "pill",
      +  "dumbbell",
      +  "building-2",
      +  "warehouse",
      +  "leaf",
      +  "star"
      +]
  2. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, but the description adds real behavioral detail: URL values render as clickable buttons versus plain text, and the remove flag performs the destructive operation. It does not mention permission requirements or the batch limit, so it falls short of full behavioral disclosure.

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?

Three sentences, front-loaded with the core action before the exclusion and the removal flag. The aside 'which are a different thing entirely' is slightly padded, but nothing important is buried.

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 7 parameters, no output schema, and rich annotations, the description covers rendering behavior, removal, and sibling routing, which is enough to call the tool correctly. It omits the 200-location cap (schema handles it) and any failure/partial-success 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 every parameter is already documented, including the URL-to-button rule and the remove semantics. The description largely restates those same facts (URL becomes a button, remove takes the field off) rather than adding syntax, defaults, or edge cases beyond the schema. Baseline 3 is appropriate.

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 specific verb and resource with scope ('Put the same extra field on many locations at once') and grounds it with concrete examples (booking button, social link, labelled fact). It explicitly separates itself from tag_locations, so an agent can distinguish it from siblings without reading 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 an explicit exclusion ('NOT for tags or categories') paired with the named alternative (tag_locations), plus the conditional action for deletion ('Set remove to true to take the field off instead'). Both when-to-use and when-not-to-use are 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