Skip to main content
Glama

Get fleet policy

stack_get_fleet
Read-only

Read one fleet policy and its shared usage. A controls feature: with controls off the API answers 402 CONTROLS_REQUIRED, and the owner switches controls on in the Console, at the Billing page. A self-managed install has every controls feature.

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": {
      "policy_id": "<policy_id>"
    },
    "name": "stack_get_fleet"
  }
}

Input Schema

NameRequiredDescriptionDefault
policy_idYes

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 cover the safety profile (readOnlyHint=true, destructiveHint=false), yet the description adds genuinely non-obvious behavior: the API returns 402 CONTROLS_REQUIRED when controls are off, and the owner must enable controls in the Console Billing page. It also clarifies that self-managed installs have all controls features, which preempts a confusing error path. It doesn't say what 'shared usage' contains or whether missing policies error differently.

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?

Three short sentences, front-loaded with the core read operation before the controls caveat. The 'A controls feature:' fragment is slightly awkward, but every sentence carries information an agent would otherwise have to discover from an error response.

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?

For a one-parameter read tool with annotations and no output schema, the description covers purpose, the notable failure mode, and the remediation path. Only the shape of the returned 'shared usage' data is left unstated, which is acceptable without an output schema.

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 description coverage is 0% for the single policy_id parameter, so the schema supplies only a type and no meaning. The description doesn't explain what a policy_id is, its format, or how to obtain one, though the parameter name is largely self-explanatory for a read-by-id tool.

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 opens with a specific verb and resource: 'Read one fleet policy and its shared usage.' That is concrete enough to separate it from write siblings like stack_revise_fleet or stack_activate_fleet. It doesn't explicitly contrast with stack_get_control_policy or stack_get_fleet_membership, so it stops short of full sibling differentiation.

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?

Usage is only implied by naming the resource and the required control gate. There is no explicit statement of when to reach for this rather than a sibling read tool, and no mention of prerequisites such as needing a valid policy_id obtained from a list operation.

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.