Skip to main content
Glama

set_gene_expression

DestructiveIdempotent

Tune how strongly an agent leans on one cognitive operation. Required: agent_id, gene_id, expression (0..1; 0 switches it off for this agent, 0.5 is neutral). Optional: reason. Changes behaviour for every future decision, so say why.

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>",
      "gene_id": "<gene_id>",
      "expression": "<expression>"
    },
    "name": "set_gene_expression"
  }
}

Input Schema

NameRequiredDescriptionDefault
reasonNoReason (free text)
gene_idYesID of the gene
agent_idYesID of the agent
expressionYesStrength 0..1; 0 switches the operation off for this agent, 0.5 is neutral

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / agent_id / description
      Added value: +"ID of the agent"
    • addedInput schema / properties / expression / description
      Added value: +"Strength 0..1; 0 switches the operation off for this agent, 0.5 is neutral"
    • addedInput schema / properties / gene_id / description
      Added value: +"ID of the gene"
    • addedInput schema / properties / reason / description
      Added value: +"Reason (free text)"
  2. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false and idempotentHint=true, and the description adds the crucial consequence the annotation cannot: the change persists into every future decision. It also explains the 0 and 0.5 semantics of the value, which functions as an implicit reset path. It stops short of saying whether prior values are recoverable or whether other agents are affected.

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?

Three short sentences, front-loaded with the verb and effect, then requirements, then the caution. Nothing is redundant or padded.

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 4-parameter mutation with no output schema, the description covers required inputs, the meaning of the value range, and the persistence consequence. A minor gap remains around reversibility and permission requirements, which the destructive annotation only partially implies.

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%, so all four parameters are already documented in the schema, and the description largely restates the expression scale (0..1, 0 off, 0.5 neutral). The only added value is framing reason as an expectation ('say why') rather than a free-text field. Baseline 3 is appropriate.

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 specific verb ('Tune') and resource ('how strongly an agent leans on one cognitive operation'), and immediately disambiguates the metaphor by pairing gene with agent and expression. An agent can tell this apart from the other set_* siblings 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?

It gives an implied when-to-use signal ('changes behaviour for every future decision, so say why') and a caution about using the reason field, but offers no explicit alternatives or exclusions. There is no guidance on when a different tool (e.g. agent condition or permission settings) would be the right choice instead.

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.