Skip to main content
Glama

SPACEXPLORATION

Set listing attributes

set_listing_attributes
DestructiveIdempotent

Set broker-authored attributes on a listing you own. Pass attributes as a map of registry field name to value (the field names get_registry returns, e.g. {"attr_parking_spaces": 40, "attr_office_class": "Class A"}). Only fields get_registry marks "writable":true can be set; publish-time computed fields and hot columns (use update_listing for those) are rejected with guidance. Enum fields take the allowed value (or an array for multiselect); send null to clear a field (a live listing refuses to clear one publishing requires). Returns the full updated listing.

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": {
      "hashid": "<hashid>",
      "attributes": "<attributes>"
    },
    "name": "set_listing_attributes"
  }
}

Input Schema

NameRequiredDescriptionDefault
hashidYesHashid of the listing to update.
attributesYesMap of registry field name to value, e.g. {"attr_parking_spaces": 40, "attr_office_class": "Class A", "attr_industrial_rail_access": true}. Only fields get_registry marks "writable":true are accepted. Multiselect enum fields take an array of allowed values. Send null to clear a field.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and openWorldHint=true, so the safety profile is covered; the description still adds real value by disclosing that clearing a required field on a live listing is refused and that non-writable fields are rejected with guidance. It stops short of describing permission requirements or rate limits, so it is strong but not exhaustive beyond the annotations.

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?

Front-loaded with the purpose, then progressive detail (field format, writability rule, value semantics, return). Every sentence carries information, though the parenthetical about your own listings and the return-value note could be tightened slightly.

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?

With no output schema, the description correctly states it returns the full updated listing, and it covers the discovery path, the rejection behavior, and the null-clear edge case. For a two-parameter nested-object tool, nothing an agent needs to invoke it correctly is missing.

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 100%, so the baseline is 3, but the description adds meaning beyond it: it ties the `attributes` keys to the get_registry field-name convention, gives a concrete example payload, and explains enum/multiselect and null-clearing semantics. The overlap with the schema's own attributes text keeps it from a 5.

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 ("Set broker-authored attributes on a listing you own") and immediately delimits scope against siblings by naming get_registry for field discovery and update_listing for hot columns. An agent can tell this apart from update_listing without opening either 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?

Explicitly routes the agent: use get_registry to find writable fields, use update_listing for hot columns, and this tool only accepts fields with "writable":true. It also states the failure condition (computed fields rejected with guidance) and how to clear a value, which are the decisions an agent actually has to make before calling.

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