Skip to main content
Glama

Privi Agent Survival & Premium

Agent authentication session review

privi_pro_auth_session_review
Read-only

Evaluate token expiry and declared scope against a required scope. PAID ONLY: 5 prepaid credits; production billing required.

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": {
      "expires_at": "<expires_at>",
      "required_scope": "<required_scope>",
      "granted_scopes": "<granted_scopes>"
    },
    "name": "privi_pro_auth_session_review"
  }
}

Input Schema

NameRequiredDescriptionDefault
expires_atYes
granted_scopesYes
required_scopeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/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 genuinely non-annotation behavior: it is a paid gated operation costing 5 prepaid credits and requiring production billing, which matters before invocation. It does not say what verdict is produced or what happens when the token is expired or scopes are insufficient.

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 the core purpose front-loaded and the billing constraint appended. Nothing is padded, though the billing notice could be tightened.

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?

With three required parameters at 0% schema coverage and no output schema, the description carries the full burden and falls short: it never indicates whether the result is a boolean pass/fail, a list of missing scopes, or a remediation hint. For a paid gated evaluation tool, an agent cannot predict the response shape.

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 coverage is 0%, so the description must compensate, and it partially does by mapping all three parameters conceptually: expires_at to token expiry, granted_scopes to declared scope, and required_scope to the required scope. However, it adds no format detail (e.g., timestamp encoding or scope string syntax) that would let an agent construct valid values from the description alone.

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 (evaluate) and the exact inputs being compared: token expiry and granted/declared scope against a required scope. An agent can tell this is an authorization-scope check rather than a general review, though it does not explicitly distinguish itself from the similarly-named sibling privi_pro_delegation_review.

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?

There is no statement of when to use this tool versus alternatives such as privi_pro_delegation_review or privi_pro_nonce_replay_window, and no when-not conditions or prerequisites. Usage must be inferred entirely from the one-line purpose.

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