Skip to main content
Glama

Groundsocial

Search Cosmos

cosmos_search_posts
Read-onlyIdempotent

Search Cosmos elements, paginated.

Elements matching a query (Cosmos’s visual search), 40 a page; continue with after.

Cost: 1 credit per call, refunded automatically if the call fails. Read-only, public data only. Results include cost_credits and credits_remaining.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "q": "<q>"
    },
    "name": "cosmos_search_posts"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYesSearch terms.
afterNoThe previous page’s meta.next_token.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, open-world), and the description adds material behavior beyond them: credit cost per call, automatic refund on failure, public-data-only scope, page size, and which fields come back in results. This is exactly the kind of operational context annotations do not carry.

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?

Four short sentences, front-loaded with purpose, then pagination, then cost/scope, then return fields. No filler and nothing repeated from the schema.

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 no output schema, the description still discloses pagination mechanics and the identity of two returned fields, which is more than most. The one gap is that "elements" is never defined (posts, images, clusters?), leaving the result type slightly ambiguous even though the title and sibling context suggest posts.

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?

Schema coverage is 100%, so the baseline is 3, but the description adds genuine meaning: it explains that results are paged at 40 per page and that `after` continues pagination, which clarifies the parameter's role beyond the schema's "previous page's meta.next_token".

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?

States a specific verb+resource ("Search Cosmos elements") plus the scoping detail that matching is by query via "Cosmos's visual search". It does not name or distinguish against siblings such as cosmos_cluster_posts or cosmos_user_posts, so the boundary is only partially drawn.

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 description implies usage (supply search terms to get matching elements) but never states when to prefer this over cluster- or user-scoped alternatives, nor any exclusions. Guidance is inferable rather than explicit.

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.