Skip to main content
Glama

Spala Public MCP

Search Spala Documentation

docs_search
Read-onlyIdempotent

Searches the public Spala agent-facing documentation index by query. Invoke for setup, OAuth, installer, public-versus-project MCP, pricing, limits, security, templates, addons, native blocks, filters, Custom Code alternatives, or project handoff questions. Returns ranked docs entries with URLs and summaries.

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

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of ranked documentation results to return.
queryNoOptional search phrase. Use words such as auth, OAuth, MCP, templates, addons, pricing, limits, frontend handoff, or project handoff.

Output Schema

NameRequiredDescriptionDefault
queryYes
resultsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "description": "Ranked public documentation search results.",
      +  "properties": {
      +    "query": {
      +      "type": "string"
      +    },
      +    "results": {
      +      "items": {
      +        "additionalProperties": true,
      +        "type": "object"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "query",
      +    "results"
      +  ],
      +  "type": "object"
      +}
  2. Changed4 schema fields changed
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • addedInput schema / description
      Added value: +"Optional text search and result limit for public Spala documentation."
    • addedInput schema / properties / limit / description
      Added value: +"Maximum number of ranked documentation results to return."
    • addedInput schema / properties / query / description
      Added value: +"Optional search phrase. Use words such as auth, OAuth, MCP, templates, addons, pricing, limits, frontend handoff, or project handoff."
  3. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile costs nothing here. The description adds two genuine facts beyond that: results are ranked and each carries a URL plus summary, and the index is public only rather than project-scoped. Beyond those, it says nothing about no-result behavior, pagination, or ranking criteria.

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 sentences, both front-loaded: purpose first, invocation triggers second, return shape third. The long topic list is dense but each item is a distinct retrieval hook that earns its tokens by improving query matching.

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 an output schema present the description needn't explain return fields, and annotations cover safety, so little is left unaddressed. The residual gap is behavioral edge cases (empty query, zero results, result freshness), which are minor for a read-only search tool but would have made it fully self-contained.

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 both query and limit are already fully documented with defaults and bounds. The description's topic list largely restates the query parameter's own example terms rather than adding syntax or format guidance. Baseline 3 applies when the schema carries the parameter burden.

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 (Searches), a specific resource (the public Spala agent-facing documentation index), and the retrieval mode (by query). The topic enumeration and the word 'public' make the scope unmistakable, so an agent knows exactly what corpus it reaches.

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?

The 'Invoke for...' clause gives a concrete, fairly exhaustive list of triggering topics (setup, OAuth, installer, pricing, limits, security, templates, addons, filters, handoff). It stops short of naming when NOT to use it or pointing to alternatives such as spala_help, so an agent still has to infer the boundary between this and the help/tool-map siblings.

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.