Skip to main content
Glama

Run Hub Agent

run_agent

Launch a published Hub agent by name or slug. Use when the user asks in plain language or opens an agent prompt. Pass slug when you know it, or name for their words. Same access states as get_agent_playbook: full, free_claim_available (claim true only after they say yes), preview upgrade, not_included (show the message and the plans link exactly, then stop), and a sign-in challenge when signed out. access choose means several matches: ask which one, then call again with that slug. If the needed files are attached in the chat, run on those. Otherwise use a connector. Offer the schedule only after they confirm. Does not upload business data.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "run_agent"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoThe agent's name or the user's words, when a slug is not known yet.
slugNoUse case slug when the user or search_use_cases already named one.
claimNoSet true only after the user agrees this is their one free agent.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations (which only tell us it's a non-destructive, non-open-world mutation), the description discloses the full access-state matrix (full, free_claim_available, preview upgrade, not_included, sign-in challenge) and exactly what to do in each. It also clarifies the claim must be user-confirmed and that no business data is uploaded, which is precisely the kind of context annotations cannot carry.

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

Conciseness3/5

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

The purpose is front-loaded, but the body becomes a dense run-on of conditional clauses and forward-references ('Same access states as get_agent_playbook') that force the agent to cross-read another tool. Every clause carries information, yet the structure could be tightened into discrete steps.

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 launch tool with no output schema, the description covers preconditions, gating states, and post-launch follow-ups (file attachment vs connector, schedule offering) thoroughly. It stops short of describing what a successful launch returns, but that gap is minor.

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

Parameters4/5

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

Schema coverage is 100%, so baseline is 3, but the description adds real decision logic: use slug when known, name for the user's words, and set claim true only after explicit consent. This meaningfully improves on the schema's terse per-field text.

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?

Opens with a specific verb+resource: 'Launch a published Hub agent by name or slug.' It is clearly distinguishable from siblings like search_use_cases, get_agent_playbook, or get_use_case, since it is the launch action rather than a lookup.

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?

Explicitly states the triggering conditions ('user asks in plain language or opens an agent prompt') and gives selection rules between the name and slug params. It also names the search_use_cases route implicitly via 'search_use_cases already named one' and prescribes follow-up behavior for ambiguous matches.

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