Skip to main content
Glama
modellers

ConsignCloud MCP Server

by modellers

update_account

Modify account details like name, contact information, and company data for existing users in the ConsignCloud system.

Instructions

Update an existing account

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
first_nameNo
last_nameNo
companyNo
emailNo
phone_numberNo

Implementation Reference

  • MCP server tool handler for 'update_account'. Parses arguments, calls client.updateAccount, and returns JSON response.
    case 'update_account':
      const { id: accountId, ...accountData } = args as any;
      return { content: [{ type: 'text', text: JSON.stringify(await client.updateAccount(accountId, accountData), null, 2) }] };
  • Input schema validation for the 'update_account' tool defining parameters like id (required), names, company, email, phone.
    inputSchema: {
      type: 'object',
      properties: {
        id: { type: 'string' },
        first_name: { type: 'string' },
        last_name: { type: 'string' },
        company: { type: 'string' },
        email: { type: 'string' },
        phone_number: { type: 'string' },
      },
      required: ['id'],
    },
  • src/server.ts:178-193 (registration)
    Tool registration in createTools() array, including name, description, and input schema for listing via ListToolsRequest.
    {
      name: 'update_account',
      description: 'Update an existing account',
      inputSchema: {
        type: 'object',
        properties: {
          id: { type: 'string' },
          first_name: { type: 'string' },
          last_name: { type: 'string' },
          company: { type: 'string' },
          email: { type: 'string' },
          phone_number: { type: 'string' },
        },
        required: ['id'],
      },
    },
  • Core implementation of updateAccount in ConsignCloudClient: converts data (handles balance cents), PATCH /accounts/{id}, converts response.
    async updateAccount(id: string, data: Partial<Account>): Promise<Account> {
      // Convert user input to API cents
      const apiData = {
        ...data,
        balance: data.balance ? this.convertToApiCents(data.balance) : undefined,
      };
      const response = await this.client.patch(`/accounts/${id}`, apiData);
      return this.convertAccountResponse(response.data);
    }
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 burden. 'Update an existing account' implies a mutation operation, but it doesn't disclose behavioral traits such as required permissions, whether changes are reversible, rate limits, or what happens to unspecified fields. This is a significant gap for a mutation tool with zero annotation coverage.

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 zero waste. It's appropriately sized and front-loaded, making it easy to parse quickly.

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?

Given the complexity (a mutation tool with 6 parameters), lack of annotations, and no output schema, the description is incomplete. It doesn't explain what the tool returns, error conditions, or parameter details, leaving critical gaps for the agent to understand and invoke it correctly.

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 description coverage is 0%, so the description must compensate for undocumented parameters. It mentions 'account' but doesn't explain any of the 6 parameters (id, first_name, last_name, company, email, phone_number) or their semantics, failing to add value beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description 'Update an existing account' clearly states the verb ('Update') and resource ('account'), which is better than a tautology. However, it doesn't specify what aspects of an account can be updated or differentiate this tool from sibling tools like 'update_item' or 'update_batch_status', making it somewhat vague.

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 description provides no guidance on when to use this tool versus alternatives. It doesn't mention prerequisites (e.g., needing an account ID), exclusions, or comparisons to tools like 'create_account' or 'get_account', leaving the agent with no usage context.

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/modellers/mcp-consigncloud'

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