Skip to main content
Glama

set_profile

Idempotent

Set or clear a namespace's static profile in TinyMem to persist agent context, preferences, or project facts; pass an empty profile to remove it.

Instructions

Set the static profile for a namespace (aim under 4000 chars). Pass an empty profile to clear it.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
profileYes
namespaceNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0-dev

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare idempotentHint=true, destructiveHint=false and readOnlyHint=false, so the write/idempotent nature is covered. The description adds two useful behavioral facts beyond the annotations: the ~4000-char size guidance and that an empty value clears the profile. It does not say what happens to an existing profile on overwrite or whether any authorization is needed.

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, front-loaded with the primary action and immediately followed by the size and clearing semantics. No filler or restated name/title content.

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?

There is no output schema and only two parameters, so the description should be near-sufficient, but it omits the namespace parameter entirely and gives no return/effect information. The clearing and size behaviors are covered, leaving a moderate gap for a mutation tool.

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 coverage is 0%, so the description carries the burden, and it only partially does: it explains the size expectation for `profile` (matching maxLength 4000) and its empty-string semantics. The `namespace` parameter is never mentioned — no default, no explanation of the allowed pattern, and no statement of which namespace applies if omitted.

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?

The description gives a specific verb+resource: 'Set the static profile for a namespace,' and the word 'static' helps distinguish this durable profile from the memory siblings. It stops short of naming get_profile as the read counterpart or clarifying how the profile relates to the add_memory/search_memories family.

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 one concrete usage instruction — pass an empty profile to clear it — which implies the clearing use case, but there is no guidance on when to set a profile versus store memories, nor any reference to get_profile for reading. Usage is implied rather than stated.

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