Skip to main content
Glama

Awareness — Memory, Knowledge & Agent Markets

awareness_run_agent_task

Run a task with a marketplace agent bound to a memory (requires login).

Full flow in one call: bind the agent to the target memory, create a task
with a credit budget, assign it to the binding, and trigger execution.
The agent works against the memory and reports back.

Args:
    agent_slug: Agent slug (or id) from the marketplace catalog.
    memory_id: Target memory the agent should work on (must be yours).
    title: Task title (max 200 chars).
    description: Task details.
    budget_credits: Credit budget held from your balance (default 50).
    api_key: Bearer token for authentication (required).

Returns:
    {"task": {...}, "status": str} with task id, assigned agent, and run
    status, or {"error": str}.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "agent_slug": "<agent_slug>",
      "memory_id": "<memory_id>",
      "title": "<title>"
    },
    "name": "awareness_run_agent_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleYes
api_keyNo
memory_idYes
agent_slugYes
descriptionNo
budget_creditsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false and openWorldHint=true, so the safety profile is partly given; the description goes beyond them by disclosing that credits are held from the user's balance (a financial side effect), that a login/auth token is required, and that the agent works asynchronously ('trigger execution', returns run status). It stops short of saying whether credits are refunded on failure or whether the call blocks until completion.

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 lead sentence states purpose and prerequisite up front, followed by a compact flow summary and clearly delimited Args/Returns blocks. Every line carries information an agent needs; nothing is padding.

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 six-parameter composite mutation with no output schema, the definition covers auth, cost, ownership constraint, defaults, and an inline return shape with error case. The remaining gap is execution semantics (async vs blocking, credit refund behavior on failure), which matters given the budget hold.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, so the description carries the full burden and does so: every one of the six parameters is explained, including the budget default of 50, the 200-character title cap, the requirement that memory_id be owned by the caller, and that api_key is a Bearer token. Semantics are added beyond the bare schema titles.

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 names a specific verb and resource ('Run a task with a marketplace agent bound to a memory') and then enumerates the four-step composite flow (bind, create task with budget, assign, trigger). An agent can tell this is a one-shot orchestration tool rather than a lookup or catalog tool like awareness_find_agents or awareness_agent_detail, though it never explicitly contrasts itself with the closely related awareness_hire_agent or awareness_chat_agent.

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?

It supplies a real prerequisite ('requires login') and an ownership constraint on memory_id ('must be yours'), which is genuine when-to-use context. However, there is no statement of when NOT to use this versus awareness_hire_agent or awareness_chat_agent, and no guidance on what happens if a binding already exists, so usage is implied rather than routed.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources