Skip to main content
Glama

hub

Query Antigravity guides, real-time quota usage, available models, and reusable Agent role presets, or create and list presets to configure project agents.

Instructions

Query Hub guide, real-time Antigravity quota usage, available models, and reusable Agent role presets. Call with op=, params={...} (use op='help' for full schema):

  • guide: Return the full AI & human usage guide Markdown and tool_count.

  • usage(refresh?): Query real-time Antigravity quota usage (5h & Weekly remaining %).

  • models(refresh?): List available Antigravity models and the configured default model.

  • preset_list(created_by?, include_prompt?): List reusable Agent role presets (compact summaries by default).

  • preset_create(name, description?, model?, system_prompt?, inherit_mcp?, catalog_refs?, mcp_servers?, mcp_server_names?): Create a reusable Agent role preset in the current project.

  • help(op?): Return single-source parameter specs and examples for hub ops.

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": {
      "op": "<op>"
    },
    "name": "hub"
  }
}

Input Schema

NameRequiredDescriptionDefault
opYes
paramsNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations provided, the description carries the full disclosure burden. It does disclose useful traits: usage/models are live reads with an optional refresh, preset_list returns compact summaries by default, and preset_create writes "in the current project" (a scope statement for the one mutating op). It omits permissions, whether create overwrites an existing preset, rate/refresh cost, and error behavior.

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?

Front-loaded one-sentence summary followed by a flat one-line-per-op list; each bullet states an op and its payload, so nearly every sentence earns its place. Minor redundancy between "use op='help' for full schema" in the preamble and the help bullet at the end.

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?

An output schema exists, so return-value detail is not required, and all six enum values of op are described. For a multi-op dispatcher whose real parameters are hidden behind a free-form params object, this is close to sufficient, with the remaining shortfall being write-side behavior (conflict/overwrite, permissions) for preset_create.

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 0% and the top-level params object is untyped, so the description must compensate, and it does: every op's accepted arguments are enumerated inline with optionality markers (refresh?, created_by?, include_prompt?, model?, inherit_mcp?, catalog_refs?, mcp_servers?), which the schema alone cannot convey. It stops at naming — no meaning, format, or defaults for catalog_refs/mcp_servers — and defers detail to op='help', which is reasonable progressive disclosure but a genuine gap.

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 opening line names concrete verbs and resources (guide, real-time quota usage, available models, Agent role presets) and the bullets map each op to what it returns or does, so an agent can match an intent to an op. It does not distinguish this hub from the sibling tools (agent, mcp, session), which share the same domain vocabulary, so a small routing ambiguity remains.

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 gives invocation mechanics ("Call with op=<action>, params={...}") and a fallback ("use op='help' for full schema"), and the op list implies what each is for. It never states when to prefer this tool over a sibling, nor any exclusions or prerequisites for preset_create (e.g. project membership), leaving selection guidance implicit.

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

Deploy Server

Other Tools