Skip to main content
Glama

Set the investigation cap

set_investigation_cap

Set the org's monthly investigation cap. Investigations pause at this cap until the period resets or the cap is raised.

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": {
      "cap": "<cap>"
    },
    "name": "set_investigation_cap"
  }
}

Input Schema

NameRequiredDescriptionDefault
capYes

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 only declare this is a non-read-only, non-destructive, non-open-world mutation. The description adds genuine behavioral context beyond that: investigations pause at the cap until the period resets or the cap is raised. It stops short of saying whether lowering the cap below current usage immediately pauses in-flight investigations, or what permissions are needed.

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 no filler. The action and scope come first, followed by the consequence, which is the right order for an agent scanning definitions.

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 one-parameter mutation with no output schema, purpose and consequence are both covered. It would be stronger if it said what the call returns (e.g., the new cap or current usage) and whether the change takes effect immediately for running investigations.

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 carry the parameter burden. It clarifies that the cap is monthly and measured in investigations, but never states the 15–500 valid range, whether the value is absolute or a delta, or what happens with an out-of-range value. Useful meaning is added, but not enough to fully compensate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a concrete verb and resource with scope: 'Set the org's monthly investigation cap.' The word 'monthly' and 'org's' pin down which cap among the sibling set (get_investigation, rerun_investigation) is being changed, so an agent can distinguish it without opening the schema.

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: an agent can infer it should call this when it wants to change the investigation limit, and the second sentence hints at why (pausing investigations). There is no explicit when-to-use vs. when-not, no mention of reading the current cap via get_investigation first, and no prerequisite guidance.

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