Skip to main content
Glama

searchPublicSpecifications

Read-onlyIdempotent

Search public acceptance templates before signing in. Use {} for the whole catalog or {"query":{"q":"n8n","industry":"retail"}} to narrow it. Every search word must match and the industry must match exactly, ignoring case. All matches arrive together in catalog order. If none match, drop the industry or a keyword. For a saved ID or slug and version, go directly to getPublicSpecification.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "searchPublicSpecifications"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryNoOptional catalog filters. Omit query to list every published template.

Output Schema

NameRequiredDescriptionDefault
dataYesThe published result on success, or the upstream error payload.
httpStatusYesUpstream HTTP status. A failed read also sets isError on the MCP result.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {},
      +  {
      +    "query": {
      +      "industry": "retail",
      +      "q": "n8n"
      +    }
      +  }
      +]
  2. Changed4 schema fields changed
    • addedInput schema / properties / query / description
      Added value: +"Optional catalog filters. Omit query to list every published template."
    • addedInput schema / properties / query / properties / industry / description
      Added value: +"Exact industry filter, case insensitive, for example retail. May be combined with keywords."
    • addedInput schema / properties / query / properties / q / description
      Added value: +"Keywords describing the delivery, for example n8n workflow or chatbot. All search words must match."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "if": {
      +    "properties": {
      +      "httpStatus": {
      +        "maximum": 299
      +      }
      +    }
      +  },
      +  "properties": {
      +    "data": {
      +      "description": "The published result on success, or the upstream error payload."
      +    },
      +    "httpStatus": {
      +      "description": "Upstream HTTP status. A failed read also sets isError on the MCP result.",
      +      "maximum": 599,
      +      "minimum": 200,
      +      "type": "integer"
      +    }
      +  },
      +  "required": [
      +    "httpStatus",
      +    "data"
      +  ],
      +  "then": {
      +    "properties": {
      +      "data": {
      +        "properties": {
      +          "items": {
      +            "description": "All matching public templates in catalog order; empty when no filters match.",
      +            "items": {
      +              "properties": {
      +                "digest": {
      +                  "description": "Digest of the selected template revision.",
      +                  "type": "string"
      +                },
      +                "id": {
      +                  "description": "Stable public template identifier.",
      +                  "type": "string"
      +                },
      +                "slug": {
      +                  "description": "Human-readable identifier accepted for direct reads.",
      +                  "type": "string"
      +                },
      +                "template": {
      +                  "description": "Published template, including scope and review criteria.",
      +                  "type": "object"
      +                },
      +                "version": {
      +                  "description": "Published revision.",
      +                  "minimum": 1,
      +                  "type": "integer"
      +                }
      +              },
      +              "required": [
      +                "id",
      +                "slug",
      +                "version",
      +                "digest",
      +                "template"
      +              ],
      +              "type": "object"
      +            },
      +            "type": "array"
      +          }
      +        },
      +        "required": [
      +          "items"
      +        ],
      +        "type": "object"
      +      }
      +    }
      +  },
      +  "type": "object"
      +}
  3. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and openWorld, so the safety profile is covered. The description adds genuinely new behavior: all matches are returned together in catalog order (i.e. no pagination) and the AND-matching semantics for keywords. It does not discuss result size limits or error conditions, so it stops short of a 5.

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 purpose, then usage examples, then matching rules, then the sibling redirect — a sensible ordering with little filler. The embedded JSON examples duplicate the schema's examples and the matching rules repeat schema text, so it is slightly longer than strictly necessary.

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?

For a one-parameter, fully documented read-only search with an output schema (so return shape need not be explained), the description covers purpose, filtering semantics, result ordering, empty-result recovery, and the alternative tool. Nothing an agent needs in order to call it correctly is missing.

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 coverage is 100% and the schema already documents that all search words must match and that industry is an exact, case-insensitive filter, so the description largely restates structured data. The inline example payloads are helpful but mirror the schema's own examples, keeping this at the baseline for a fully documented schema.

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 ('Search public acceptance templates') plus the timing constraint ('before signing in'), which is enough for an agent to distinguish it from getPublicSpecification, which it explicitly names for direct ID/slug lookups.

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 covers when to use this tool (broad catalog search before auth), when to use the alternative ('For a saved ID or slug and version, go directly to getPublicSpecification'), and even gives a recovery path when results are empty ('drop the industry or a keyword').

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.