Skip to main content
Glama

Get trust setting

stack_get_trust
Read-only

Read the trust switch: for one agent (agent_id) its own value over the account's over STACK's default, or without agent_id the account's. Returns trust (what is set at that scope, or null when nothing is), effective (what is in force there) and source (agent, account or default). "ask_first" keeps today's behaviour: a card purchase, an order on the customer's own supplier account and an owner-key governance change wait for a person. "trust_agents" lets all three through without waiting. In both, a wallet balance or spend limit still refuses, a revoked or suspended agent is still refused, a control policy's review rule still holds the action, and the browser-only actions stay in the browser. STACK starts a new account on "trust_agents". Operator only; an agent cannot read or change its own.

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_trust"
  }
}

Input Schema

NameRequiredDescriptionDefault
agent_idNoAgent id (agt_*) of the agent this applies to. Omit for the account's value, which every agent without its own value uses.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so safety is covered, yet the description still adds substantial context: the exact return fields (trust as set-or-null, effective as in force, source as agent/account/default), the fact that a new account starts on trust_agents, and the operator-only restriction. It also explains what trust does and does not override (wallet balance, spend limit, revoked/suspended agent, control-policy review, browser-only actions), which is real behavioral information rather than restatement.

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 is front-loaded correctly: scope resolution and return fields come first, then the semantics of ask_first and trust_agents. However, the middle sentence enumerates a long list of conditions that still refuse under both modes, which is policy detail adjacent to the read operation and makes an otherwise short read tool verbose. It is dense but not padded with filler, so it lands at adequate rather than poor.

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

Completeness5/5

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

For a single-optional-parameter read tool with no output schema, the definition covers what is needed: what is read, at which scope, what comes back, the meaning of both enum-like values, the account default, and the caller restriction. An agent can call this correctly and interpret the result without further context.

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% and the schema already explains agent_id, so the baseline is 3. The description goes beyond it by spelling out the resolution chain (agent over account over STACK's default) and by tying the omitted-parameter case to inheritance behavior, which gives the parameter meaning the schema alone does not.

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 names a specific verb and resource ("Read the trust switch") and precisely defines the two scopes it can resolve: with agent_id it reads that agent's own value, without it the account's value. It is clear what the tool does and what it returns (trust, effective, source). It stops short of differentiating itself from similarly named siblings such as stack_check_trust_level or stack_get_trust_level, so an agent must still guess which read tool to pick.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage context is explicit: omit agent_id to get the account-level value that every agent without an override inherits, and "Operator only; an agent cannot read or change its own" states a hard prerequisite that would otherwise cause a failed call. What is missing is an exclusion clause pointing to an alternative when the caller wants a different kind of trust information, which is why this is not a 5.

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.