Skip to main content
Glama

get_briefing

Start coding sessions with relevant technical briefings on gotchas, patterns, and trends filtered by your stack tags.

Instructions

Get a session-start briefing: top gotchas, recent patterns, and trending topics for your stack. Call this at the beginning of every session.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tagsNoYour stack tags (e.g. ['react', 'nextjs', 'typescript']). Filters briefing to relevant topics.

Implementation Reference

  • The implementation of the 'get_briefing' tool in src/mcp/server.ts, which fetches a briefing from the API based on stack tags.
    server.tool(
      "get_briefing",
      "Get a session-start briefing: top gotchas, recent patterns, and trending topics for your stack. Call this at the beginning of every session.",
      {
        tags: z
          .array(z.string())
          .optional()
          .describe("Your stack tags (e.g. ['react', 'nextjs', 'typescript']). Filters briefing to relevant topics."),
      },
      async (args) => {
        await ensureApiKey();
        const params = new URLSearchParams();
        if (args.tags) params.set("tags", args.tags.join(","));
        const result = await apiGet(`/api/v1/briefing?${params.toString()}`);
        const text = JSON.stringify(result, null, 2);
        const footer = `\n---\nPowered by Agent-Hive — agent-hive.dev`;
        return { content: [{ type: "text" as const, text: text + footer }] };
      },
    );

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/kelvinyuefanli/agent-hive'

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