Skip to main content
Glama

update_profile

Store pre-computed agent profiles in the database to enable persistent memory retention and reliable profile access across sessions.

Instructions

Save a pre-computed agent profile to the database.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
agent_idYesAgent identifier
profileYesProfile text to save (pre-computed by caller)
Behavior3/5

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

The description adds that the profile must be 'pre-computed' and specifies the 'database' as the persistence layer, which complements the annotations. However, with readOnlyHint=false and destructiveHint=false already indicating write capabilities and non-destructive nature, the description adds only modest operational context without detailing overwrite semantics or error behaviors.

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?

The description is a single, efficient sentence with no redundant words. It front-loads the action ('Save') and qualifies the object ('pre-computed agent profile') without wasting space on obvious details already covered by annotations.

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?

For a simple two-parameter write tool with complete schema coverage and safety annotations provided, the description is minimally adequate. However, it leaves ambiguity regarding whether this performs an upsert (create or update) or strictly updates existing records, which would be valuable behavioral context given the tool name 'update_profile'.

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?

With 100% schema description coverage, the parameter semantics are well-documented in the schema itself. The description reinforces that the 'profile' parameter contains 'pre-computed' text (already noted in the schema description), serving as a baseline 3 where the schema carries the descriptive burden.

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 provides a clear verb ('Save') and resource ('pre-computed agent profile') with destination context ('to the database'). However, it lacks explicit differentiation from siblings like 'get_profile' (read vs. write) or 'store' (generic vs. specific), which prevents a score of 5.

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

Usage Guidelines2/5

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

The only usage guidance is the implicit constraint that the profile must be 'pre-computed' (not computed by this tool). There is no explicit when-to-use guidance, no mention of prerequisites beyond pre-computation, and no comparison to alternative tools like 'get_profile' or 'store'.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Cloto-dev/CPersona'

If you have feedback or need assistance with the MCP directory API, please join our Discord server