Skip to main content
Glama
aimdb-dev

aimdb-mcp

Official

propose_add_task

Propose a new async task definition for AimDB, defining input/output records and task type, so users can review it before resolution.

Instructions

Propose adding a new task definition. Tasks are async functions that produce, transform, or consume record data. Present the proposal to the user before calling resolve_proposal.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYessnake_case task function name, e.g. "sensor_polling_task"
inputsNoRecords this task reads from
outputsNoRecords this task writes to
task_typeNoFunctional role: source (autonomous producer writing to a record), transform (reactive derivation from input records to output record), tap (read-only observer, no output records), agent (LLM reasoning loop). Default: transform
descriptionYesHuman-readable description of the proposal shown to the user

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It usefully discloses the two-phase proposal lifecycle (propose then resolve_proposal after user presentation), but omits whether the proposal requires approval, what happens on rejection, or whether it persists — significant gaps for a mutation-adjacent tool.

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?

Three short sentences with zero waste; the core action is front-loaded and the sequencing constraint follows logically.

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 proposal-creation tool with no output schema, the description adequately conveys the task concept and the propose/resolve lifecycle. It could go further on what the proposal needs to be actionable, but nothing critical is missing.

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 description coverage is 100%, so the schema already documents name, inputs, outputs, task_type, and description. The description adds conceptual framing (what tasks do) but no parameter-level meaning beyond the enum already explained in the schema, so baseline 3 applies.

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?

States a specific verb+resource ('Propose adding a new task definition') and defines what a task is ('async functions that produce, transform, or consume record data'), which cleanly separates it from sibling propose_add_record/propose_add_connector/propose_add_binary tools.

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

Usage Guidelines3/5

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

Provides workflow sequencing ('Present the proposal to the user before calling resolve_proposal') which implies usage, but never states when to choose this tool over the many sibling propose_* variants or what prerequisites exist for adding a task.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.