Skip to main content
Glama

COTAL actions (cotal.ai)

Search cotal.ai

cotal_search
Read-onlyIdempotent

Keyword search over the Cotal build log (blog posts) and the key documentation and site pages. Use it to find the page that answers a question before reading it. Returns ranked results, each with type, title, description, score and canonical and markdown URLs.

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": {
      "query": "<query>"
    },
    "name": "cotal_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum results (default 10).
queryYesSearch terms, e.g. 'hackathon', 'identity', 'install windows'.

Output Schema

NameRequiredDescriptionDefault
okYes
queryYesThe query as searched.
resultsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "https://json-schema.org/draft/2020-12/schema",
      +  "additionalProperties": {},
      +  "properties": {
      +    "ok": {
      +      "type": "boolean"
      +    },
      +    "query": {
      +      "description": "The query as searched.",
      +      "type": "string"
      +    },
      +    "results": {
      +      "items": {
      +        "additionalProperties": {},
      +        "properties": {
      +          "description": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "markdown_url": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "Markdown twin, when there is one."
      +          },
      +          "score": {
      +            "description": "Relevance; higher is better.",
      +            "type": "number"
      +          },
      +          "title": {
      +            "type": "string"
      +          },
      +          "type": {
      +            "description": "post, doc or page.",
      +            "type": "string"
      +          },
      +          "url": {
      +            "description": "Canonical URL.",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "type",
      +          "title",
      +          "url",
      +          "score"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "ok",
      +    "query",
      +    "results"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A4.1/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 closed-world, so the safety profile is covered. The description adds real context beyond that: the scope of the index (blog posts plus docs and site pages) and that results are ranked. The result-field enumeration is somewhat redundant with the output schema.

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?

Three short sentences: what it searches, when to use it, what it returns. Purpose is front-loaded and nothing is wasted.

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?

A low-complexity two-parameter search tool with rich annotations, a fully documented schema and an output schema. The description covers corpus, intent and return nature, leaving nothing an agent needs in order to call it correctly.

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 both parameters carry their own descriptions including examples and defaults, so the schema does the heavy lifting. The description adds only the notion that matching is keyword-based, without clarifying matching behavior, ranking influences, or limits.

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 and resource ('Keyword search over the Cotal build log and key documentation and site pages') and names the indexed corpus, which lets an agent distinguish it from the reading tools like cotal_get_post or cotal_list_posts. It stops short of naming an alternative explicitly, so it earns a 4 rather than a 5.

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?

'Use it to find the page that answers a question before reading it' gives a clear positioning: this is the discovery entry point ahead of a read tool. No explicit exclusions or named alternatives are given, so the guidance is strong but not complete.

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.