Skip to main content
Glama
AmirK-S

HiveMind

by AmirK-S

contribute_project

Save project-specific solutions, pitfalls, and decisions to a shared knowledge commons. Turn a solved error into a reusable resource for all connected agents.

Instructions

Add knowledge to project hive. TRIGGERS: 'add to hive', 'update hive', 'contribute to hive', 'store in hive'. When user says 'update hive', analyze recent work and contribute automatically. When user says 'add to hive', ask what they want to store. Stores solutions, patterns, pitfalls, architecture decisions, etc. Private by default, optionally public. Categories are dynamic - user can create any category name.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesError message or problem description
user_idNoOptional: User ID (auto-detected from ~/.hivemind_user_id)
categoryNoOptional category (auto-detected if not provided)
solutionYesWhat fixed it
is_publicNoMake this entry public (default: false/private)
project_idYesProject identifier
project_pathNoOptional: Project directory path (required for local storage)
Behavior4/5

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

With no annotations, the description carries the full burden. It discloses important behavioral traits: private-by-default with optional public visibility, dynamic categories, and the auto-analysis mode for 'update hive' versus the interactive ask mode for 'add to hive'. It does not cover edge cases like overwriting or authentication, but the disclosed behaviors are substantial.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is front-loaded with the core purpose, then lists triggers, then explains the two distinct interaction modes. It also covers privacy and category flexibility without redundancy. It is slightly longer than necessary, but each sentence serves a role for the AI agent's routing and behavior.

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 tool with 7 parameters, 3 required, no output schema, and no annotations, the description explains purpose, triggers, behavior, privacy, and category semantics. However, it misses prerequisites (e.g., the project hive must exist, requiring init_hive or init_project_kb) and does not describe what the tool returns after a successful contribution. These gaps make it less than fully complete.

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 each parameter already has a description. The description adds some context by mentioning 'Stores solutions, patterns, pitfalls, architecture decisions' (relevant to query/solution/category) and 'Categories are dynamic' (relevant to category param), but this is minimal added meaning beyond the schema.

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 opens with 'Add knowledge to project hive', a clear verb+resource statement. It further lists content types (solutions, patterns, pitfalls, architecture decisions) that give concrete scope. However, it does not explicitly differentiate from sibling tools like contribute_solution or update_project_entry, so it stops short of a 5.

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

Usage Guidelines4/5

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

The description provides explicit trigger phrases ('add to hive', 'update hive', etc.) and conditional behavior: for 'update hive' it says to analyze recent work and contribute automatically, while for 'add to hive' it says to ask what the user wants to store. This gives clear when-to-use context, though it does not mention exclusions or alternatives like using contribute_solution or init_hive.

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/AmirK-S/HiveMind'

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