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 }] };
      },
    );
Behavior3/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It indicates this is a read operation ('Get') and suggests it provides aggregated insights, but doesn't specify response format, data freshness, or potential rate limits. It adds some context about session initialization but lacks details on what 'briefing' structurally entails or any authentication requirements.

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 efficiently structured in two sentences: the first explains what the tool delivers, the second provides critical usage timing. Every word serves a purpose with no redundancy or filler content. It's appropriately sized for a single-parameter tool with clear intent.

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?

For a read-only tool with one optional parameter and no output schema, the description provides strong purpose and usage context. It could benefit from more detail about the briefing structure or example outputs, but given the tool's relative simplicity and the clear guidance on when to call it, the description is largely complete. The absence of annotations means some behavioral aspects remain unspecified.

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 description mentions filtering to 'relevant topics for your stack' which aligns with the 'tags' parameter documented in the schema. With 100% schema description coverage and only one optional parameter, the description adds meaningful context about how tags personalize the briefing without needing to repeat schema details. The baseline for high coverage is 3, but the description enhances understanding of parameter purpose.

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 specific action ('Get a session-start briefing') and the content delivered ('top gotchas, recent patterns, and trending topics for your stack'). It distinguishes this from sibling tools like 'search_knowledge' or 'get_node' by focusing on session initialization with curated insights rather than general knowledge retrieval or specific node operations.

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

Usage Guidelines5/5

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

The description provides explicit usage guidance: 'Call this at the beginning of every session.' This tells the agent precisely when to use this tool versus alternatives like 'search_knowledge' for ongoing queries or 'get_node' for specific data retrieval. It establishes a clear temporal context for tool selection.

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

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