Skip to main content
Glama
PatricioRios

mmex-mcp

by PatricioRios

mmex_stocks_create

Add a new stock holding to a Money Manager EX database, specifying purchase details, current price, and account.

Instructions

Create a new stock in the MMEX database.

    Args:
        held_at: Account ID where the stock is held.
        purchase_date: Purchase date (YYYY-MM-DD).
        name: Stock name.
        num_shares: Number of shares as decimal string.
        purchase_price: Purchase price per share.
        current_price: Current price per share.
        value: Current total value.
        commission: Commission paid.
        symbol: Stock symbol (e.g., AAPL).
        notes: Notes about the stock.
        db_path: Path to the .mmb database file. Optional if MMEX_DB_PATH env var is set.
        db_key: Encryption key for SQLCipher databases. Optional if MMEX_DB_KEY env var is set.
    

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
held_atYes
purchase_dateYes
nameYes
num_sharesYes
purchase_priceYes
current_priceYes
valueYes
commissionYes
symbolNo
notesNo
db_pathNo
db_keyNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

No annotations provided; the description only lists parameters. It fails to disclose side effects (e.g., database modifications), authentication requirements, or any return value details. The verb 'create' implies mutation, but no further behavioral context.

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 a single declarative sentence followed by a parameter list. It is reasonably concise and the list is easy to scan. Minor improvement could be grouping optional parameters or highlighting required ones.

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?

With 12 parameters and an output schema present, the description does not explain the output (e.g., created stock object ID). It also lacks information about database connection handling beyond optional parameters. Overall, it covers the input but not the full context.

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

Parameters4/5

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

Schema description coverage is 0%, so the description must compensate. It provides brief but meaningful descriptions for each parameter (e.g., 'number of shares as decimal string', 'Stock symbol (e.g., AAPL)') which adds value beyond the schema titles. However, some descriptions are terse (e.g., 'Notes about the stock').

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 starts with 'Create a new stock in the MMEX database', clearly specifying the verb (create) and resource (stock). This distinguishes it from sibling tools like mmex_stocks_delete, get, list, update, update_partial.

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?

No explicit guidance on when to use this tool vs alternatives. The description mentions optional parameters db_path and db_key but does not provide context for when to use this tool over others or prerequisites needed.

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/PatricioRios/mmex_mcp'

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