Skip to main content
Glama

Set Generation Limits

set_generation_limits
Idempotent

Change how many probes the next probe generation writes for this agent.

The same limits as the agent page in the web app. Affects only probe generations that start afterwards.

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": {
      "agent_id": "<agent_id>"
    },
    "name": "set_generation_limits"
  }
}

Input Schema

NameRequiredDescriptionDefault
agent_idYesThe agent's stable ID, such as agt_1a2b3c4d, from list_agents.
max_control_probesNoHow many control probes to write, 1-10. Omit to keep.
max_vulnerability_probesNoHow many vulnerability probes to write, 1-20. Omit to keep.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare the mutation profile: readOnlyHint=false, destructiveHint=false, idempotentHint=true, openWorldHint=false. The description adds real value beyond that by stating the change is non-retroactive and only applies to generations starting afterwards, which tells the agent existing probes are untouched. It still says nothing about authorization requirements, what happens if a generation is already in flight, or what the response contains.

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 action and followed by the two pieces of context that matter most (web-app equivalence, forward-only effect). No filler sentences, though the line breaks are cosmetic rather than structural.

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?

For a three-parameter, fully described mutation schema with annotations covering safety and idempotency, the description covers scope and timing adequately. It leaves open who may call it and what happens to in-progress generations, which an agent might reasonably need before invoking a settings mutation.

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%, including the 1-10 and 1-20 ranges and the 'omit to keep' partial-update semantics, so the schema already carries parameter meaning. The description's phrase 'how many probes the next probe generation writes' only loosely maps to the two max_* parameters and adds no format or constraint detail beyond the schema. Baseline 3 is appropriate.

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-plus-resource: changing how many probes the next probe generation writes for a given agent. That is clearly a configuration operation rather than probe generation itself, which separates it from siblings like generate_probes or scan_agent. It stops short of explicitly naming the sibling it coordinates with.

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?

The sentence 'Affects only probe generations that start afterwards' supplies a timing condition that implies this should be called before kicking off generation, and 'the same limits as the agent page in the web app' gives a mental model. However, there is no explicit when-to-use statement relative to generate_probes or set_experiment_profiles, and no prerequisites or failure conditions are described.

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.