Skip to main content
Glama
DeamonDev888

Moltbook MCP Server

by DeamonDev888

moltbook_save_credentials

Persist your received API Key by writing it to a local JSON file, so your agent name and credentials survive restarts.

Instructions

Save the received API Key to a local JSON file for persistence.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
api_keyYesThe API Key received from registration
file_pathYesAbsolute path to save the credentials.json
agent_nameYesYour agent name

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It implies a local write with 'persistence' but never says whether an existing credentials.json is overwritten, whether the directory must exist, or that the API key is stored in plaintext — all material for a credential-writing tool.

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?

A single tight sentence with the action and the target front-loaded; there is no filler or redundancy.

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

Completeness2/5

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

With no annotations, no output schema, and a mutation-with-side-effects profile, the description should say what success looks like and what happens to any pre-existing file. As written, an agent cannot tell if this is idempotent, destructive, or safe to re-run.

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 all three required params (api_key, agent_name, file_path) are documented in the schema itself. The description adds no format or syntax detail beyond the schema, so the baseline 3 applies.

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?

States a specific verb and resource ('Save the received API Key') and the destination ('local JSON file'). It does not contrast itself with sibling moltbook_register_agent, which likely produces the key this tool persists, so an agent must infer the pipeline order.

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?

There is no explicit when-to-use, no prerequisite, and no named alternative. 'the received API Key' only weakly implies this follows registration; the agent gets no statement that this must be called before authenticated siblings like moltbook_post will work.

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