Skip to main content
Glama

Hub state

hub_state
Read-onlyIdempotent

Hub state for the Hub widget. For the widget only, not for the model.

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

Input Schema

NameRequiredDescriptionDefault
hubYeshub key

Output Schema

NameRequiredDescriptionDefault
hubYes
youYesthe user's id
bansYespeople removed from a public hub — visible to the owner and admins
callsYescalls are available: enabled on the server and the hub isn't public
membersYes
glossaryYes
conflictsYes
decisionsYes
knowledgeYescontext tags, entry labels and the links between entries
browser_urlYesthe hub in the browser
context_seqYescontext journal cursor: context_seq tells when it moves on

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.6/5.0
Behavior2/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and closed-world scope, so the safety profile is fully covered. The description adds nothing beyond that — no note on what the state contains, whether it is cached/computed, or what the widget scope implies operationally.

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?

Two short sentences with no filler and the scope caveat placed immediately. Brevity is not bloated, though the first sentence spends words restating the title.

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

Completeness2/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 values need not be explained, and the single parameter is documented in the schema. Still, an agent cannot determine what "hub state" actually is, making the definition inadequate for selecting this tool with confidence.

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?

There is a single required parameter with 100% schema description coverage ("hub key"), so the schema carries the meaning. The description adds no clarification about valid key formats or where keys come from, which is acceptable at high coverage but leaves no added value.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Hub state for the Hub widget" essentially restates the tool name and title without saying what state is retrieved or returned. The only substantive content is a scope caveat (widget, not model), which distinguishes audience but not the operation itself.

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?

"For the widget only, not for the model" is an explicit negative condition, which is more than nothing. However, there is no positive guidance on when an agent should call this, and no sibling alternative is named (e.g., app_state) for the excluded case.

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