Skip to main content
Glama

run_agent

Complete multi-step tasks using an autonomous agent that iteratively reasons and utilizes available tools like calculator, text, unit conversion, and web search.

Instructions

Run a mini ReAct agent that can autonomously use all available tools to complete a task. The agent reasons step-by-step: it thinks about what to do, selects a tool, executes it, observes the result, and continues until it has enough information to give a final answer.

The agent supports multi-step tasks. Examples:

  • "Calculate 15 * 23 + sqrt(144)"

  • "Convert 100 cm to inches and also generate a UUID"

  • "What time is it in Asia/Shanghai?"

  • "Generate a 20-character password and tell me today's date"

  • "Search the web for the latest news about AI agents"

  • "Extract the content from https://example.com/article"

Available tool categories:

  • Built-in: calculator, text_stats, text_transform, unit_convert, datetime_info, random_gen

  • AnySearch (if connected): anysearch_search, anysearch_batch_search, anysearch_extract, anysearch_get_sub_domains

If LLM_API_KEY + LLM_BASE_URL + LLM_MODEL are all set (no defaults), the agent uses LLM-powered reasoning. Otherwise it uses a rule-based pattern matching engine.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
taskYesThe task for the agent to complete. Be specific about what you want.
Behavior3/5

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

With no annotations, the description must fully convey behavior. It explains step-by-step reasoning and two execution modes, but does not disclose potential side effects (e.g., network calls if anysearch tools are used) or latency considerations. The behavioral description is adequate but not exhaustive.

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 well-structured with paragraphs, bullet-point examples, and tool categories. It is front-loaded with the main purpose. While slightly long, every part adds context. Could be slightly more concise but is effectively organized.

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?

Given the tool's complexity as an orchestrator, the description covers key aspects: purpose, reasoning process, execution modes, and dependencies (LLM config). It lists available tools. Missing details like error handling or limitations, but overall sufficient for an agent to understand usage.

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% for the single 'task' parameter, so baseline is 3. The description adds value through examples but does not elaborate on task format or constraints beyond what the schema says ('Be specific'). The added semantics are marginal.

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 explicitly states the tool runs a mini ReAct agent that autonomously uses all available tools. It provides a clear verb-resource pair and distinguishes itself from sibling tools (which are individual tools, while this is an orchestrator). Examples further clarify its purpose.

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 lists example tasks and explains when to use the tool (multi-step tasks requiring reasoning). It also notes conditions for LLM vs rule-based mode. However, it does not explicitly state when not to use it or compare to alternatives beyond listing sibling tools.

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/Microbiosis/mini-agent-mcp'

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