Skip to main content
Glama

Search Carragent

search_carragent
Read-onlyIdempotent

Keyword search over Carragent's agents and plans, best match first. Use it to find the agent for a task in the user's words, such as 'chase late invoices' or 'confirm appointments'. Returns { results: [...] }, each with its kind (agent or plan), id, name, description and score.

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

Input Schema

NameRequiredDescriptionDefault
langNoLanguage of the text: en, es or fr.en
queryYesWhat the user needs, in their words.

Output Schema

NameRequiredDescriptionDefault
resultsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "results": {
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "description": {
      +            "type": "string"
      +          },
      +          "id": {
      +            "description": "The id, for get_agent when kind is agent.",
      +            "type": "string"
      +          },
      +          "kind": {
      +            "enum": [
      +              "agent",
      +              "plan"
      +            ],
      +            "type": "string"
      +          },
      +          "name": {
      +            "type": "string"
      +          },
      +          "score": {
      +            "description": "How well it matched; higher first.",
      +            "type": "number"
      +          }
      +        },
      +        "required": [
      +          "kind",
      +          "id",
      +          "name",
      +          "description",
      +          "score"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "results"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare this as a read-only, idempotent, closed-world, non-destructive operation, so the safety profile is covered. The description adds genuinely new behavioral context beyond that: results are ranked by best match, and each hit carries a kind discriminator (agent or plan) plus a score. It does not mention result limits, truncation, or empty-result behavior, which keeps it out of the top band.

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?

Three tight sentences, front-loaded with the core purpose, then usage with examples, then return shape. The return-shape sentence is somewhat redundant given an output schema exists, so it is not maximally economical, but there is no filler.

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 a rich annotation set, a full output schema and 100% parameter coverage, the description supplies everything an agent needs to select and call the tool correctly. Minor gaps remain around result-count limits and behavior when nothing matches, which are not covered by any structured field.

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%, so both 'query' and 'lang' are already documented, and the description's 'in the user's words' only echoes the schema text for query. It adds nothing about the language parameter or how it interacts with matching across English, Spanish and French content, so the schema baseline of 3 applies.

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?

The description states a specific verb and resource ('keyword search over Carragent's agents and plans') plus ordering ('best match first'), which is far more than a restatement of the name. It never names the list_agents/get_agent siblings, so the differentiation from them is only implied by the word 'search' rather than made explicit.

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 agent for a task in the user's words' gives a clear usage context, reinforced by two concrete example queries ('chase late invoices', 'confirm appointments'). It stops short of stating when not to use it or pointing to an alternative tool for exact-ID lookup or full enumeration.

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