Skip to main content
Glama

Attributes

list_attributes
Read-onlyIdempotent

The attributes a search may ask for (delivery, walk_ins, wifi…) and the payments accepts takes: pass keys as attributes, and payments as accepts, to search_businesses.

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
keysYes
versionYes
paymentsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / keys / items / properties / values_from
      Added value: +{
      +  "type": "string"
      +}
  2. Changed13 schema fields changed
    • removedInput schema / $schema
      Removed value: -"https://json-schema.org/draft/2020-12/schema"
    • removedInput schema / title
      Removed value: -"MCP list_attributes: arguments"
    • removedOutput schema / $schema
      Removed value: -"https://json-schema.org/draft/2020-12/schema"
    • addedOutput schema / description
      Added value: +"Every field is described in this tool's outputSchema at https://network.surfingdog.ai/.well-known/mcp/server-card.json."
    • removedOutput schema / properties / keys / items / properties / filterable / description
      Removed value: -"false: shown in the list, never filterable or shown yet."
    • removedOutput schema / properties / keys / items / properties / labels / description
      Removed value: -"Language → label."
    • removedOutput schema / properties / keys / items / properties / values / description
      Removed value: -"The values of an \"enum\" key; a filter names one as key=value."
    • removedOutput schema / properties / payments / properties / agent / description
      Removed value: -"Ways an agent itself pays: AP2, ACP delegated payment, x402, UCP handlers, Visa Intelligent Commerce, Mastercard Agent Pay."
    • removedOutput schema / properties / payments / properties / labels / description
      Removed value: -"Each token's English name."
    • removedOutput schema / properties / payments / properties / version / description
      Removed value: -"The version of vocab/payments.json."
    • removedOutput schema / properties / payments / properties / version / maximum
      Removed value: -9007199254740991
    • removedOutput schema / properties / version / maximum
      Removed value: -9007199254740991
    • removedOutput schema / title
      Removed value: -"MCP list_attributes: structuredContent"
  3. Changed3 schema fields changed
    • changedOutput schema / properties / payments / properties / agent / description
      Previous value: -"Ways an agent itself pays: AP2, ACP delegated payment, x402, UCP handlers."New value: +"Ways an agent itself pays: AP2, ACP delegated payment, x402, UCP handlers, Visa Intelligent Commerce, Mastercard Agent Pay."
    • addedOutput schema / properties / payments / properties / labels
      Added value: +{
      +  "additionalProperties": {
      +    "type": "string"
      +  },
      +  "description": "Each token's English name.",
      +  "propertyNames": {
      +    "type": "string"
      +  },
      +  "type": "object"
      +}
    • addedOutput schema / properties / payments / properties / version
      Added value: +{
      +  "description": "The version of vocab/payments.json.",
      +  "maximum": 9007199254740991,
      +  "minimum": 1,
      +  "type": "integer"
      +}
  4. First observed

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered and the description adds the useful fact that the output is a static key vocabulary feeding search parameters. It adds nothing about ordering, completeness, or whether the list varies by locale/vertical, which is the kind of context annotations cannot carry. No contradiction with annotations.

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

Conciseness2/5

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

It is a single sentence, but that sentence is malformed ('the payments accepts takes') and the payload type and intended use are tangled together rather than front-loaded. Brevity here comes from under-specification and bad grammar, not from discipline.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool is trivial — no parameters, an output schema present, and read-only annotations — so the description does not need to explain return values or safety. Given that low bar, what is written is roughly sufficient to call it correctly, but the garbled phrasing leaves real risk that an agent misreads which keys map to which search_businesses parameter.

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?

The tool takes zero parameters (empty input schema), so there is nothing for the description to disambiguate. Baseline 4 applies. The partial mention of 'attributes'/'payments' refers to downstream search_businesses inputs, not this tool's own schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description conveys that the tool returns the set of attribute keys (delivery, walk_ins, wifi) and the accepted payment values a search can use, which is a real verb+resource statement. But the sentence is grammatically broken ('the payments accepts takes'), so an agent has to reconstruct the intent rather than read it. It also never says how this differs from the sibling list_categories.

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?

It does give a concrete downstream use: pass the returned keys as `attributes` and `payments` inputs when calling search_businesses. That is useful routing context. It stops short of explicit when-to-use/when-not or any comparison to list_categories, leaving the agent to infer that this is the value-lookup companion to search_businesses.

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