Skip to main content
Glama
modus-agendi

managed-agent-control-mcp

session_start

Start a managed-agent session by attaching the required environment, vaults, and memory stores to ensure proper authentication and context.

Instructions

Start a managed-agent session — with the RIGHT resources attached for THIS agent.

Do NOT start bare or with mismatched resources. An agent only behaves well when its OWN environment, vault(s), and memory store(s) are attached; the wrong or missing ones cause failed tool authentication, lost memory/context, and bad outcomes.

Before calling, assemble the resources for this agent:

  1. agent_get(agent_id) — read its description, metadata, mcp_servers, skills.

  2. Choose environment_id + vault_ids + memory_store_ids that BELONG to this agent by matching each resource's name/description/metadata (often metadata.agent_name=<agent>, or "-vault" / "-memory"). Use environment_list / vault_list / memory_store_list (and *_get when unsure). If you can't confidently match a resource, ask the user — don't guess or skip it.

Then:

  • vault_idsvlt_* credential vaults (else MCP servers needing auth fail).

  • memory_store_idsmemstore_* persistent memory mounted in the sandbox.

  • message — sent as the first instruction now (omit to only provision).

  • agent_version — pin a version (default: latest).

Returns the session_id. After starting, OBSERVE by polling session_get/session_events until status is "idle".

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
agent_idYes
environment_idYes
messageNo
vault_idsNo
memory_store_idsNo
agent_versionNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

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

With no annotations, description fully discloses behavior: attaches vaults/memory stores, sends message, pins version, returns session_id. Warns about consequences of wrong resources.

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?

Well-structured with steps and bullet lists, front-loaded purpose. Slightly verbose but every sentence adds value; minor redundancy in resource assembly instructions.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Thoroughly covers prerequisites, parameter meaning, invocation steps, and post-call observation. Completes the picture for a complex tool with dependencies.

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 description compensates by explaining each parameter: vault_ids (vlt_*), memory_store_ids (memstore_*), message (first instruction), agent_version (pin version). Required params implied.

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?

Description starts with a clear verb+resource: 'Start a managed-agent session.' It distinguishes from sibling tools like session_get, session_list by focusing on session creation with resource attachment.

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?

Provides explicit step-by-step prerequisites (assemble resources using agent_get, list tools) and warns against bare or mismatched resources. Includes post-invocation polling instructions.

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/modus-agendi/managed-agent-control-mcp'

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