Skip to main content
Glama

misp_list_feeds

List all configured threat intelligence feeds and IOC sources in MISP, with optional filtering by enabled status.

Instructions

List configured MISP feeds (threat intel sources, IOC feeds, etc.)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
enabledNoFilter by enabled/disabled status

Implementation Reference

  • The MCP tool handler for 'misp_list_feeds'. Uses server.tool() to register the tool with name 'misp_list_feeds', accepts an optional 'enabled' boolean parameter, calls client.listFeeds(), optionally filters by enabled status, and returns a formatted JSON summary of feeds.
    server.tool(
      "misp_list_feeds",
      "List configured MISP feeds (threat intel sources, IOC feeds, etc.)",
      {
        enabled: z
          .boolean()
          .optional()
          .describe("Filter by enabled/disabled status"),
      },
      async ({ enabled }) => {
        try {
          let feeds = await client.listFeeds();
    
          if (enabled !== undefined) {
            feeds = feeds.filter((f) => f.enabled === enabled);
          }
    
          if (feeds.length === 0) {
            return {
              content: [{ type: "text", text: "No feeds found." }],
            };
          }
    
          const summary = feeds.map((f) => ({
            id: f.id,
            name: f.name,
            provider: f.provider,
            url: f.url,
            enabled: f.enabled,
            source_format: f.source_format,
            distribution: f.distribution,
            event_id: f.event_id,
            caching_enabled: f.caching_enabled,
          }));
    
          return {
            content: [{ type: "text", text: JSON.stringify(summary, null, 2) }],
          };
        } catch (err) {
          return {
            content: [
              {
                type: "text",
                text: `Error listing feeds: ${err instanceof Error ? err.message : String(err)}`,
              },
            ],
            isError: true,
          };
        }
      }
    );
  • src/index.ts:40-40 (registration)
    Registration call: registerFeedTools(server, client) in src/index.ts line 40, which triggers the tool registration in feeds.ts.
    registerFeedTools(server, client);
  • Client helper method MispClient.listFeeds() that makes a GET request to /feeds and maps the response to MispFeed[] objects.
    async listFeeds(): Promise<MispFeed[]> {
      const data = await this.request<Array<{ Feed: MispFeed }>>(
        "GET",
        "/feeds"
      );
      return (data || []).map((f) => f.Feed);
    }
  • TypeScript interface MispFeed defining the schema for feed objects returned by the tool.
    export interface MispFeed {
      id: string;
      name: string;
      provider: string;
      url: string;
      enabled: boolean;
      source_format: string;
      distribution: string;
      event_id: string;
      caching_enabled: boolean;
    }
Behavior2/5

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

With no annotations, the description carries the full burden. It does not disclose that this is a read-only operation, whether it requires authentication, or any side effects. The description is minimal on behavior beyond the action itself.

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?

Single sentence with clear verb and resource. No fluff or redundant information. Front-loaded and efficient.

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?

For a simple list tool with one optional parameter, the description is adequate but doesn't mention the return format or content of the feed list. No output schema. Could be improved by specifying what fields are returned.

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 the schema already documents the 'enabled' parameter well. The description adds no additional semantic value to the parameter beyond what the schema provides. Baseline 3 is appropriate.

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?

The description clearly states the verb 'list' and resource 'MISP feeds', with an explanatory parenthetical. It distinguishes from sibling list tools (e.g., misp_list_galaxies) by specifying 'feeds'.

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?

No guidance on when to use this tool versus other feed-related tools (e.g., misp_fetch_feed, misp_toggle_feed) or alternatives. No prerequisites or context for usage.

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/solomonneas/misp-mcp'

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