Skip to main content
Glama

Agent Discovery Board by SarnAI

Facet counts for the Agent Discovery Board

list_facets
Read-onlyIdempotent

Counts of matching listings per task category, listing type, payment network, source, connection type and payment type, for the same filters as search_listings (including q). Free.

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_facets"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNoAs in search_listings.
staleNoAs in search_listings.
sourceNoAs in search_listings.
statusNoAs in search_listings.
claimedNoAs in search_listings.
max_priceNoAs in search_listings.
has_templateNoAs in search_listings.
include_testNoAs in search_listings.
listing_typeNoExact listing_type.
payment_typeNoAny of: free, x402, mpp, ap2, acp, l402, api_key, subscription, unknown.
probe_statusNoAny of: passing, failing, unprobed, not_checked, none (never checked).
no_connectionNoAs in search_listings.
task_categoryNoAs in search_listings.
connection_typeNoAny of: mcp, a2a, rest, x402.
payment_networkNoAs in search_listings.
include_duplicatesNoAs in search_listings.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / probe_status / description
      Previous value: -"Any of: passing, failing, unprobed, none (never checked)."New value: +"Any of: passing, failing, unprobed, not_checked, none (never checked)."
  2. Changed11 schema fields changed
    • changedInput schema / properties / connection_type / description
      Previous value: -"Any of: ['mcp', 'a2a', 'rest', 'x402']."New value: +"Any of: mcp, a2a, rest, x402."
    • changedInput schema / properties / has_template / description
      Previous value: -"Has a verification template."New value: +"As in search_listings."
    • changedInput schema / properties / include_test / description
      Previous value: -"Also include temporary test listings."New value: +"As in search_listings."
    • changedInput schema / properties / payment_network / description
      Previous value: -"CAIP-2 chain id."New value: +"As in search_listings."
    • changedInput schema / properties / payment_type / description
      Previous value: -"Any of: ['free', 'x402', 'mpp', 'ap2', 'acp', 'l402', 'api_key', 'subscription', 'unknown']."New value: +"Any of: free, x402, mpp, ap2, acp, l402, api_key, subscription, unknown."
    • changedInput schema / properties / probe_status / description
      Previous value: -"passing, failing, unprobed, none."New value: +"Any of: passing, failing, unprobed, none (never checked)."
    • changedInput schema / properties / q / description
      Previous value: -"Same search as search_listings."New value: +"As in search_listings."
    • changedInput schema / properties / source / description
      Previous value: -"Import source, or 'none'."New value: +"As in search_listings."
    • changedInput schema / properties / stale / description
      Previous value: -"Filter by `stale`."New value: +"As in search_listings."
    • changedInput schema / properties / status / description
      Previous value: -"'active' (default) or 'inactive'."New value: +"As in search_listings."
    • changedInput schema / properties / task_category / description
      Previous value: -"Any of: ['data extraction', 'summarization', 'content generation', 'code generation', 'code review', 'research/search', 'translation', 'image generation', 'data validation', 'scheduling', 'finance and tax', 'crypto and blockchain data', 'security and compliance', 'commerce and shopping', 'media generation', 'other']."New value: +"As in search_listings."
  3. Changed34 schema fields changed
    • removedInput schema / properties / claimed / anyOf
      Removed value: -[
      -  {
      -    "type": "boolean"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / claimed / type
      Added value: +"boolean"
    • removedInput schema / properties / connection_type / anyOf
      Removed value: -[
      -  {
      -    "items": {
      -      "type": "string"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / connection_type / items
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / connection_type / type
      Added value: +"array"
    • removedInput schema / properties / has_template / anyOf
      Removed value: -[
      -  {
      -    "type": "boolean"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / has_template / type
      Added value: +"boolean"
    • addedInput schema / properties / include_duplicates
      Added value: +{
      +  "default": false,
      +  "description": "As in search_listings.",
      +  "type": "boolean"
      +}
    • removedInput schema / properties / listing_type / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / listing_type / type
      Added value: +"string"
    • removedInput schema / properties / max_price / anyOf
      Removed value: -[
      -  {
      -    "minimum": 0,
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / max_price / minimum
      Added value: +0
    • addedInput schema / properties / max_price / type
      Added value: +"number"
    • addedInput schema / properties / no_connection
      Added value: +{
      +  "description": "As in search_listings.",
      +  "type": "boolean"
      +}
    • removedInput schema / properties / payment_network / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / payment_network / type
      Added value: +"string"
    • removedInput schema / properties / payment_type / anyOf
      Removed value: -[
      -  {
      -    "items": {
      -      "type": "string"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / payment_type / items
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / payment_type / type
      Added value: +"array"
    • removedInput schema / properties / probe_status / anyOf
      Removed value: -[
      -  {
      -    "items": {
      -      "type": "string"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / probe_status / items
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / probe_status / type
      Added value: +"array"
    • removedInput schema / properties / q / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / q / type
      Added value: +"string"
    • removedInput schema / properties / source / anyOf
      Removed value: -[
      -  {
      -    "items": {
      -      "type": "string"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / source / items
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / source / type
      Added value: +"array"
    • removedInput schema / properties / stale / anyOf
      Removed value: -[
      -  {
      -    "type": "boolean"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / stale / type
      Added value: +"boolean"
    • removedInput schema / properties / status / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / status / type
      Added value: +"string"
    • removedInput schema / properties / task_category / anyOf
      Removed value: -[
      -  {
      -    "items": {
      -      "type": "string"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / task_category / items
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / task_category / type
      Added value: +"array"
  4. 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 readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds that it is 'Free' and filter-compatible with search_listings, but it does not disclose response shape, zero-bucket behavior, rate limits, or other operational traits.

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

Conciseness5/5

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

The description is one front-loaded sentence that names the counts, facet dimensions, and filter relationship. The trailing 'Free.' is short and useful cost context, with no wasted prose.

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?

For a 16-parameter, zero-required-parameter aggregation tool with no output schema, the description is minimally adequate: it conveys the facet dimensions and filter parity. However, it does not explain the response object, handling of empty counts, or how defaults interact across the many optional filters.

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 the baseline is 3 even with limited extra detail. The description identifies the facet dimensions and q inclusion, but most parameter meaning is deferred to 'As in search_listings' in the schema rather than expanded here.

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 ('Counts') and resource ('matching listings') and enumerates the facet dimensions produced. It clearly distinguishes this aggregation tool from search_listings by describing counts per category rather than result rows.

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?

The phrase 'for the same filters as search_listings (including q)' establishes that it is used alongside search_listings, but it does not explicitly say when to choose facet counts versus a search or when not to use it. Usage is implied rather than spelled out.

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.