Skip to main content
Glama

Search Stackmark

search_listings
Read-only

Search AI building blocks on Stackmark by keyword, optionally limited to one type. Returns the most relevant listings first, with IDs for get_listing.

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

Input Schema

NameRequiredDescriptionDefault
typeNoOnly this type of building block.
limitNoHow many results (default 10).
queryNoKeywords, e.g. 'postgres', 'speech recognition'. Leave empty to list the most popular.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / additionalProperties
      Removed value: -false
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, and the description adds real value on top by disclosing result ordering ('most relevant listings first') and output shape ('IDs for get_listing'). It leaves pagination and total-count behavior unstated, but nothing contradicts 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.

Conciseness5/5

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

Two compact sentences with zero filler: capability and filter first, then result ordering and the follow-up path. Every clause carries information an agent needs.

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?

For a simple read-only, zero-required-parameter search with fully documented schema and no output schema, the description covers purpose, ranking, and how to proceed with returned IDs. Slightly thin on what each listing contains, which matters since there is no output schema to fall back on.

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 all three parameters are already documented, including the type enum, the 1-20 limit range, and the empty-query-means-popular behavior. The description only restates 'by keyword' and 'limited to one type', adding no syntax or format detail beyond the 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 ('Search'), resource ('AI building blocks on Stackmark'), and scope ('by keyword, optionally limited to one type'). The follow-up sentence separates it from get_listing by making clear this tool returns IDs rather than full details.

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?

Gives clear context for use: keyword search with an optional single-type filter, and explicitly directs the agent to get_listing for detail retrieval. It stops short of naming exclusions such as when to prefer similar_listings or list_categories, so it is not a full when/when-not guide.

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