Skip to main content
Glama

Set a project's rules

set_rules
Destructive

A project's rules for what Live may suggest: models and labs never to suggest, and the least saving worth a recommendation (0.25 is a quarter). Only what is given changes. Free.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "set_rules"
  }
}

Input Schema

NameRequiredDescriptionDefault
min_savingNo
never_labsNo
project_idNo
never_modelsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare non-read-only and destructive behavior; the description adds that updates are partial ('Only what is given changes') and that the call is free. It leaves important destructive semantics unclear, such as whether provided arrays replace existing lists and what permissions are required.

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 and a fragment, with the rule scope front-loaded and little wasted wording. 'Free.' is terse but useful for the caller.

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 destructive mutation with four parameters and no output schema, the description gives useful scope and partial-update context but leaves project_id and array replacement semantics unaddressed. Annotations cover the safety profile, so it is close but not complete.

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 0%, so the description must carry parameter meaning. It explains never_models/never_labs and clarifies the min_saving scale ('0.25 is a quarter'), but it omits project_id and does not specify array replacement or formatting semantics.

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 the resource ('A project's rules') and the specific rule types ('models and labs never to suggest', 'least saving worth a recommendation'), making the operation clear. It does not name or differentiate from siblings such as set_minimum_pass_rate, so 4 rather than 5.

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 description explains what the rules cover and that only supplied fields change, which implies when the tool is relevant. It gives no explicit when-to-use/when-not-to-use guidance or alternatives to sibling tools.

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.