Skip to main content
Glama

Split attention

split_attention
Idempotent

Set attention weights of the running sessions at once, e.g. {"abc": 0.7, "def": 0.3}. Applies to the whole session, or with from_now only from now on (the user switched what they attend to; the time before keeps its split). For a finished session use edit_session.

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": {
      "shares": "<shares>"
    },
    "name": "split_attention"
  }
}

Input Schema

NameRequiredDescriptionDefault
sharesYes
from_nowNotrue: the new split holds from now on, the earlier time keeps its split

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / from_now
      Added value: +{
      +  "description": "true: the new split holds from now on, the earlier time keeps its split",
      +  "type": "boolean"
      +}
  2. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already cover the mutation and idempotency profile. The description adds meaningful behavioral detail about the temporal split via from_now ('the time before keeps its split'), beyond what annotations provide. However, it does not clarify how unspecified sessions are handled or whether weights must sum to a particular value, leaving some behavioral gaps.

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?

The description is front-loaded and compact, moving from the core action to scope and the alternative tool. The embedded example is useful but slightly interrupts the flow; overall it remains efficient with no redundant sentences.

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 mutation tool with a nested object parameter, no output schema, and supporting annotations, the description covers the essential behavior and the key alternative. It could go further by mentioning return values, validation rules (e.g., weight normalization), or error cases, but an agent has enough to invoke it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 50%: from_now is already documented in the schema, but shares has no schema description. The description compensates by explaining that shares represents attention weights and provides a concrete example mapping session identifiers to numeric weights, adding clear meaning beyond the structured field.

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?

The description states a specific verb ('Set attention weights'), resource ('running sessions'), and scope ('at once'), and explicitly distinguishes the tool from edit_session for finished sessions. An agent can immediately tell what this tool does and when it applies.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It clearly explains that the tool applies to the whole running session or, with from_now, only from now on. It also names the alternative for finished sessions ('For a finished session use edit_session'), giving explicit when-to-use and when-not-to-use 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.