Skip to main content
Glama

Privi Agent Survival & Premium

Timeout allocation

privi_timeout_budget
Read-only

Divide a total deadline into connection, response and processing budgets.

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": {
      "total_ms": "<total_ms>"
    },
    "name": "privi_timeout_budget"
  }
}

Input Schema

NameRequiredDescriptionDefault
total_msYes
connect_shareNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds that three derived buckets are produced, but says nothing about the allocation rule, rounding, defaults, or what happens when connect_share is omitted, which goes beyond the annotations.

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?

A single efficient sentence with the core action front-loaded. It is not padded, though it is arguably too terse to be fully useful.

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

Completeness3/5

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

No output schema exists, and the description does not say what the three returned budget values look like (units, keys, whether they sum to total_ms). For a small two-parameter helper that is a moderate but not fatal gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, so the description carries the full burden. It hints that the three budget buckets relate to total_ms and connect_share, but never states connect_share units (fraction vs. percent), its default, or that response/processing shares are derived rather than supplied.

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?

States a specific verb and resource: divide a total deadline into connection, response and processing budgets. An agent can tell it allocates a timeout, but the description never distinguishes it from the many sibling budget tools (rate_budget, error_budget, slo_budget, pro_capacity_allocation).

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

Usage Guidelines2/5

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

Provides no when-to-use guidance, no prerequisites, and no alternatives or exclusions. The agent must infer from the name alone that this is for client/protocol timeout planning rather than any other budget arithmetic.

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