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
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Your stack tags (e.g. ['react', 'nextjs', 'typescript']). Filters briefing to relevant topics. |
Implementation Reference
- src/mcp/server.ts:385-403 (handler)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 }] }; }, );