Skip to main content
Glama

Get control socket

stack_get_control_socket
Read-only

Get the control socket: who decides for the account's agents now (effective_mode none, hosted or remote), the mode setting, whether STACK's hosted controls are on, the decision and events addresses with their status, verified_at and whether a signing secret is set (never the secret), the events backlog, and the action kinds checked. Operator only.

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": "stack_get_control_socket"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already establish readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds real value beyond that by disclosing two operational facts not in the structured data: the call is restricted to operators, and it returns only whether a signing secret is set, never the secret itself. It does not cover response shape or pagination, but as a no-input read the remaining risk is low.

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 core purpose is front-loaded in the first three words, but the remainder is a single ~60-word sentence that crams roughly ten return fields into one comma chain, which is hard to scan and would read better as a short structured list. Every element is informative, so nothing should be cut outright, but the packing hurts readability.

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?

With no output schema and no parameters, the description carries the burden of explaining what comes back, and it does so field by field, including the status of the decision and events addresses and the secret-set flag. The access restriction is stated. Only the response format (single object vs. nested) and any error behavior are left unstated, which are minor omissions for a status read.

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?

The tool takes zero parameters, so there is nothing for the description to disambiguate and the baseline of 4 applies. The description correctly spends no words on argument semantics.

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?

Names a specific resource and verb ("Get the control socket") and then enumerates the state it returns: effective_mode, mode setting, hosted-controls flag, decision/events addresses with status, verified_at, secret presence, event backlog, and checked action kinds. This lets an agent tell it apart from siblings like stack_get_control_decision or stack_get_control_policy, which are single-facet reads, though the description never explicitly contrasts itself with them.

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 only usage constraint given is "Operator only", which correctly gates the audience, and the phrase "who decides for the account's agents now" implies this is the status/overview call. However, there is no explicit statement of when to prefer it over the many sibling getters or when not to call it, leaving selection to inference.

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.