Skip to main content
Glama

Raise the session limit

approve_more

Raise the session's cost limit by amount_usd. Only after the user explicitly agreed to that amount; never on your own.

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": {
      "repo": "<repo>",
      "session_id": "<session_id>",
      "amount_usd": "<amount_usd>"
    },
    "name": "approve_more"
  }
}

Input Schema

NameRequiredDescriptionDefault
repoYesThe session's repository, "owner/name".
amount_usdYesThe amount the user agreed to add, in US dollars.
session_idYesThe session_id start_session returned.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already flag this as a non-read-only, non-destructive mutation; the description adds a genuine consent/authorization requirement that annotations cannot express. It stops short of saying whether the raise is additive-only, capped, idempotent, or what happens if the call fails.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences with the action first and the safety condition immediately after; no filler, nothing to trim.

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 simple three-parameter mutation with full schema coverage and no output schema, the description covers the essential action and the critical consent guard. Minor gaps remain around the resulting state after the raise and any limit ceiling, but nothing blocks correct invocation.

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 100% and already defines repo, session_id, and amount_usd (including that it is the amount the user agreed to add and must be positive). The description's restatement of 'raise by amount_usd' adds no syntax or constraint information beyond the schema, so the baseline 3 applies.

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 ('Raise the session's cost limit') plus the driving parameter (amount_usd), which cleanly separates it from the read-only session_cost sibling. It does not explicitly name a contrasting sibling, so it falls just short of a 5.

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?

Gives an explicit precondition for use — only after the user explicitly agreed to that amount — and an explicit prohibition, 'never on your own.' That is a clear when/when-not rule, though it names no alternative tool for the cases where the precondition is not met.

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.