Skip to main content
Glama

Configure when maps open

mmap_setup

Get or set when the assistant opens a Mellos map. Choose always, complex, or on-request to control automatic mapping of structured tasks.

Instructions

Get or set the mapping policy — WHEN the assistant opens a Mellos map. Call with no arguments to read it: the reply names the policy chosen for the USER (every project), the one this PROJECT overrides it with if any, and which of them is in effect. If it reports "not set", ask the USER to choose (never pick for them): always = map every structured task — workflows, designs, architecture, technical dependencies; complex = map only medium or complex tasks — several modules, a new subsystem, roughly an hour or more; on-request = map only when the user explicitly asks. Then call again with their choice to persist it. It defaults to user scope, which is the normal one — the question is about how someone works, so it is asked once ever, not once per repository. Pass scope: "project" only when the user wants THIS project to differ from that habit. The policy guides you; it never blocks the tools, and an explicit user request for a map always wins.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
scopeNowhere to record the choice: "user" (default) applies to every project this user opens; "project" overrides that for this project alone. Ignored when reading.
policyNothe user's choice to persist; omit to read the current policy

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.26.0

TDQS

A4.9/5.0
Behavior5/5

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

With no annotations, the description carries the full burden: it explains read output, persistence behavior, the user-scope default, and the non-blocking nature of the policy. This is detailed behavioral disclosure for a configuration tool.

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 long but purposeful; each section maps to a decision the agent must make. It is front-loaded with the core purpose and then expands into needed operational detail, though it could be tightened slightly.

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?

The tool has two optional parameters and no output schema, and the description covers reading, writing, defaults, the 'not set' error case, and fallback behavior. Given its simple parameter surface, nothing essential for correct invocation is missing.

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

Parameters5/5

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

Schema coverage is 100%, but the description adds substantial meaning: it defines each policy value with concrete examples, clarifies the default scope, and reiterates that scope is ignored when reading. This goes well beyond the schema descriptions.

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 opens with 'Get or set the mapping policy — WHEN the assistant opens a Mellos map,' naming a specific verb pair and resource. It clearly distinguishes this configuration tool from the sibling open/read/declare/remove tools by focusing on policy rather than map content.

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 gives explicit call patterns: no arguments to read, then call again with the chosen policy to persist; scope: 'project' only when the user wants a per-project override. It also says exactly what to do on 'not set' — ask the user, never pick for them — and warns the policy never blocks explicit map requests.

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