Skip to main content
Glama
modelbrain-mcp

modelbrain-mcp

Official

Choose the partition for this session

partition_use
Idempotent

Bind a connection to a specific memory partition so subsequent remember calls store there and recall or list operations search only that partition.

Instructions

Bind this connection to one partition (an unbound connection searches every active partition): later remember calls without partition land there, and recall/list_memories without partition_scope search only there. Not persisted across connections. Accepts a name or "id:"; "all" is invalid. Returns the bound partition.

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": {
      "partition": "<partition>"
    },
    "name": "partition_use"
  }
}

Input Schema

NameRequiredDescriptionDefault
partitionYesPartition name or "id:<ulid>"; "all" and "all_active" are invalid.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the annotations: the annotations only say this is a non-read-only, idempotent, non-destructive call, while the description discloses that the binding is session-scoped and 'not persisted across connections', that it silently changes the default target of later `remember` calls, and that it returns the bound partition. The invalid-input case is also called out, so an agent knows the failure mode before invoking.

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?

Front-loads the core action in the first clause, then layers consequences and constraints in a compact run of sentences with no filler. The only waste is restating the name-or-id format and invalid values that the schema already carries.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter, non-destructive session-state tool with no output schema, the definition covers what it does, when it applies, its lifetime, its side effects on siblings, valid input forms, and the return value. Nothing an agent needs to call it correctly is missing.

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% and the single `partition` parameter already documents 'name or "id:<ulid>"' plus the invalid values. The description repeats that information rather than adding new semantics such as name-resolution rules (case sensitivity, auto-create on unknown name, ambiguity handling), so it sits at the baseline.

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 and resource ('Bind this connection to one partition') and immediately contrasts it with the unbound default ('an unbound connection searches every active partition'). The named downstream effects on `remember`, `recall`, and `list_memories` make it unmistakable which sibling tools this setting influences.

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

Usage Guidelines4/5

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

Gives a clear condition for use: call it when you want later `remember` calls and `recall`/`list_memories` calls scoped to one partition instead of fanning out. It also states a hard exclusion ('all' is invalid). It stops short of naming the alternative (e.g. passing `partition_scope` per call) as an explicit either/or, so it is clear context rather than full routing guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.