Skip to main content
Glama

list_catalog_entries

List MCP catalog entries from obot's default catalog, with optional search filter by name or ID.

Instructions

List MCP catalog entries available in obot's default catalog. Optional substring filter on name/id.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
searchNo

Implementation Reference

  • Schema/registration of the 'list_catalog_entries' tool in the tools array, defining its name, description, and input schema (optional search filter).
    {
      name: "list_catalog_entries",
      description:
        "List MCP catalog entries available in obot's default catalog. Optional substring filter on name/id.",
      inputSchema: {
        type: "object",
        properties: { search: { type: "string" } },
        additionalProperties: false,
      },
    },
  • Handler implementation for 'list_catalog_entries'. Fetches catalog entries from /api/mcp-catalogs/default/entries, optionally filters by search substring, and returns id + name pairs.
    case "list_catalog_entries": {
      const data = await obotFetch("/api/mcp-catalogs/default/entries");
      let items: any[] = data.items ?? [];
      if (typeof args.search === "string" && args.search.length > 0) {
        const q = args.search.toLowerCase();
        items = items.filter((e) =>
          ((e.id ?? "") + " " + (e.manifest?.name ?? "")).toLowerCase().includes(q),
        );
      }
      const summary = items.map((e) => ({ id: e.id, name: e.manifest?.name }));
      return { content: [{ type: "text", text: JSON.stringify(summary, null, 2) }] };
    }
  • src/index.ts:54-136 (registration)
    The tools array containing all tool definitions, including list_catalog_entries at line 127. This array is registered as the tool list via ListToolsRequestSchema handler.
    const tools: Tool[] = [
      {
        name: "list_mcp_servers",
        description:
          "List MCP servers currently registered in obot. Returns id, name, runtime, configured-state, and the connectURL you'd hand to claude.ai.",
        inputSchema: { type: "object", properties: {}, additionalProperties: false },
      },
      {
        name: "get_mcp_server",
        description: "Get full details of one MCP server by id (including manifest, env, missingRequiredEnvVars).",
        inputSchema: {
          type: "object",
          properties: { id: { type: "string", description: "MCP server id, e.g. ms1mwrmr" } },
          required: ["id"],
          additionalProperties: false,
        },
      },
      {
        name: "add_npx_mcp",
        description:
          "Install a new MCP server in obot that runs as `npx <package>` (stdio). Use this for npm-published MCP servers.",
        inputSchema: {
          type: "object",
          properties: {
            name: { type: "string", description: "Display name shown in obot UI." },
            package: { type: "string", description: "npm package name, e.g. n8n-mcp or @scope/foo." },
            shortDescription: { type: "string" },
            env: {
              type: "object",
              description:
                "Env vars passed to the MCP process. Keys go in manifest.env[]. Mark secrets via sensitiveKeys.",
              additionalProperties: { type: "string" },
            },
            sensitiveKeys: {
              type: "array",
              items: { type: "string" },
              description: "Keys in `env` that should be marked sensitive (API keys, tokens).",
            },
            alias: {
              type: "string",
              description: "Optional short alias used in URLs/logs.",
            },
          },
          required: ["name", "package"],
          additionalProperties: false,
        },
      },
      {
        name: "add_remote_mcp",
        description: "Register a remote MCP server URL so obot proxies it. Use for HTTP/SSE MCPs hosted elsewhere.",
        inputSchema: {
          type: "object",
          properties: {
            name: { type: "string" },
            url: { type: "string", description: "Remote MCP endpoint URL." },
            shortDescription: { type: "string" },
            alias: { type: "string" },
          },
          required: ["name", "url"],
          additionalProperties: false,
        },
      },
      {
        name: "delete_mcp_server",
        description: "Delete an MCP server from obot by id. Irreversible.",
        inputSchema: {
          type: "object",
          properties: { id: { type: "string" } },
          required: ["id"],
          additionalProperties: false,
        },
      },
      {
        name: "list_catalog_entries",
        description:
          "List MCP catalog entries available in obot's default catalog. Optional substring filter on name/id.",
        inputSchema: {
          type: "object",
          properties: { search: { type: "string" } },
          additionalProperties: false,
        },
      },
    ];
Behavior2/5

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

No annotations are provided, so the description must disclose behavior. It correctly implies a read operation but does not mention potential behavior like pagination, rate limits, or what happens when the catalog is empty. The description is too sparse for a tool with no other behavioral cues.

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?

The description is a single sentence that efficiently conveys the action and the optional filter. It is front-loaded with the primary purpose and wastes no words.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool has one optional parameter and no output schema, the description adequately covers the basic operation. However, it does not specify the return format (e.g., list of entry IDs, full entry objects) or any constraints (e.g., maximum results), which would be helpful for an agent to process the results correctly.

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?

The schema has one parameter 'search' with no description. The tool description adds that it is an 'optional substring filter on name/id', which provides meaningful semantic context. However, it doesn't clarify case sensitivity or wildcard behavior, so it's not fully exhaustive.

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 clearly states it lists MCP catalog entries from a specific source (obot's default catalog). The verb 'list' is unambiguous, and the optional filter is mentioned. However, it does not explicitly distinguish this from the sibling tool list_mcp_servers, which might confuse agents about which list to use.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus its siblings. It doesn't specify that this is for browsing predefined entries versus the list_mcp_servers tool which lists added servers. An agent would have to infer the distinction from tool names alone.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/kiarashedraki/obot-admin-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server