Skip to main content
Glama

Create investments

create_investments

Create 1–100 manual holdings in a group in one call. Max 1000 holdings per group (resource_limit when full; earlier rows in the batch may still succeed). Each row needs its own idempotencyKey (same namespace as create_investment). Counts as one write toward the rate limit.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "budgetId": "<budgetId>",
      "groupId": "<groupId>",
      "investments": "<investments>"
    },
    "name": "create_investments"
  }
}

Input Schema

NameRequiredDescriptionDefault
groupIdYes
budgetIdYes
investmentsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Goes well beyond the annotations: discloses the group-level 1000 cap and the resource_limit error, warns that earlier rows in a batch may still succeed (partial failure semantics), and states the rate-limit accounting of one write per call. The idempotencyKey namespace note adds essential retry-safety context that annotations cannot convey.

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?

Four tight sentences, no filler; the batch size and scope lead, and the constraints and failure modes follow in priority order. Every clause conveys actionable information.

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?

Strong on limits, partial-success behavior, idempotency, and rate limits — exactly the mutation risks an agent needs. But for a tool taking an array of 11-field item objects with zero schema descriptions and no output schema, the complete absence of item-field guidance leaves a real gap.

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

Parameters2/5

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

Schema coverage is 0%, so the description must carry parameter meaning, yet it only explains idempotencyKey. The other item fields (name, balance, quantity, unitValue, isin, code, type, subtype, currency) and the budgetId/groupId distinction are left entirely to an undocumented schema.

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?

States a specific verb and resource plus the batch scope: 'Create 1–100 manual holdings in a group in one call.' It implicitly differentiates from the singular sibling create_investment by emphasizing the batch capability and by naming create_investment as the shared idempotency namespace.

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

Usage Guidelines4/5

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

Gives clear operating context — batch size 1–100, 1000-holding group cap, rate-limit cost — which tells the agent when this tool is the right choice over repeated single creates. It stops short of an explicit 'use create_investment instead for a single holding' rule, so it is context rather than routing.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources