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.

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": "list_attributes"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedOutput schema / properties
      Removed value: -{
      -  "keys": {
      -    "items": {
      -      "properties": {
      -        "filterable": {
      -          "type": "boolean"
      -        },
      -        "group": {
      -          "type": "string"
      -        },
      -        "key": {
      -          "pattern": "^[a-z][a-z0-9_]*$",
      -          "type": "string"
      -        },
      -        "labels": {
      -          "additionalProperties": {
      -            "type": "string"
      -          },
      -          "propertyNames": {
      -            "type": "string"
      -          },
      -          "type": "object"
      -        },
      -        "type": {
      -          "enum": [
      -            "bool",
      -            "enum"
      -          ],
      -          "type": "string"
      -        },
      -        "values": {
      -          "items": {
      -            "type": "string"
      -          },
      -          "type": "array"
      -        },
      -        "values_from": {
      -          "type": "string"
      -        }
      -      },
      -      "required": [
      -        "key",
      -        "group",
      -        "type",
      -        "labels"
      -      ],
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  "payments": {
      -    "properties": {
      -      "agent": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "labels": {
      -        "additionalProperties": {
      -          "type": "string"
      -        },
      -        "propertyNames": {
      -          "type": "string"
      -        },
      -        "type": "object"
      -      },
      -      "methods": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "version": {
      -        "minimum": 1,
      -        "type": "integer"
      -      },
      -      "wallets": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      }
      -    },
      -    "required": [
      -      "methods",
      -      "wallets",
      -      "agent"
      -    ],
      -    "type": "object"
      -  },
      -  "version": {
      -    "minimum": 1,
      -    "type": "integer"
      -  }
      -}
    • removedOutput schema / required
      Removed value: -[
      -  "version",
      -  "keys",
      -  "payments"
      -]
  2. Changed1 schema field changed
    • addedOutput schema / properties / keys / items / properties / values_from
      Added value: +{
      +  "type": "string"
      +}
  3. 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"
  4. 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"
      +}
  5. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, so the safety profile is covered. The description adds that the payload is a static enumeration of valid filter keys and payment values, but says nothing more about the operation itself (e.g., whether the set is stable, whether it is filtered per locale or plan).

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?

It is a single sentence with no padding, which is proportionate to a zero-parameter lookup tool. However the phrasing is grammatically broken and the key instruction about search_businesses is buried after a confusing clause about 'payments accepts takes'.

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 zero parameters, full schema coverage, an output schema, and clear annotations, most burdens are already carried by structured fields. The description supplies the one thing structure cannot: that this is a reference vocabulary to be fed into search_businesses as 'attributes' and 'accepts', which is sufficient for correct invocation.

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, so there is no per-argument semantics to explain. The mention of 'attributes' and 'accepts' refers to parameters of the sibling search_businesses rather than this tool, but it usefully clarifies how this tool's output maps onto that schema.

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

Purpose4/5

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

The description names the resource ('attributes a search may ask for') with concrete examples (delivery, walk_ins, wifi) and the second resource ('payments accepts'), so an agent knows this returns the vocabulary used for filtering. Wording is garbled ('the payments accepts takes') and it never explicitly contrasts itself with list_categories, which is the nearest sibling.

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 actionable downstream guidance: pass the returned keys as 'attributes' and the payment values as 'accepts' when calling search_businesses. That effectively tells the agent to call this before search_businesses, though the sequencing is implied rather than stated as an explicit when-to-use rule.

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