Skip to main content
Glama

hub_exec

Execute side-effecting cold-group tools, including writes, UI actions, or injections, with host-side approval; pass group, tool, and args, cap inline output, and spool overflow to a file.

Instructions

Call a cold-group tool that may have side effects (writes, UI actions, injections). Everything except deny_tools is allowed; intended for host-side approval.

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": {
      "group": "<group>",
      "tool": "<tool>"
    },
    "name": "hub_exec"
  }
}

Input Schema

NameRequiredDescriptionDefault
argsNoArguments for the side-effecting tool.
toolYesOriginal tool name inside the group.
groupYesTarget group (name or alias).
maxCharsNoInline output cap (default 8800, max 24000); overflow is spooled to a file.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Beyond readOnlyHint=false, the description clearly warns that the called tool may perform writes, UI actions, or injections, and that all tools except deny_tools are permitted. It also situates the call in a host-side approval flow, which is useful behavioral context. It stops short of explaining reversibility, authorization requirements, or rate limits.

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 description is two compact sentences with the side-effect warning front-loaded. Every clause contributes to the safety and scope framing, and there is no redundant wording.

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

Completeness3/5

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

For a generic side-effecting dispatcher, the description covers the essential warning and approval context. It remains incomplete because it does not define what a cold group is, how to discover valid group/tool values, or what denial/approval behavior looks like in practice.

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%, so group, tool, args, and maxChars are already documented in the schema. The description adds no parameter-specific detail beyond the general note that deny_tools is excluded. The baseline of 3 is appropriate when the schema does the heavy lifting.

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 gives a specific verb-resource combination: it calls a tool from a cold group, with the explicit caveat that the call may have side effects. It distinguishes itself from a plain read operation by naming writes, UI actions, and injections, though it does not explicitly name a sibling alternative.

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?

The description implies usage through 'may have side effects' and 'intended for host-side approval', and it notes that everything except deny_tools is allowed. However, it does not explicitly say when to choose this tool over siblings such as hub_read or chain_job, nor does it define cold-group scope.

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