Skip to main content
Glama
MCP Policy Gateway

MCP Policy Gateway

by gapview01

update_account_record

Update an allowed field on a fictional account record, such as status, owner, segment, or notes, so agents can change account data only after allowlists and approval checks pass.

Instructions

Update an allowed field on a fictional account record (status, owner, segment, notes).

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": {
      "accountId": "<accountId>",
      "field": "<field>",
      "value": "<value>"
    },
    "name": "update_account_record"
  }
}

Input Schema

NameRequiredDescriptionDefault
fieldYes
valueYes
accountIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden, and it discloses little beyond the mutation itself. It never states permission requirements, whether the update is reversible, what happens if 'field' is not in the allowed set, or whether 'value' is validated per field type. The four-field whitelist is the only real behavioral constraint provided.

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?

A single front-loaded sentence with no filler; the allowed-field list is placed where it is most useful. It is efficient, though the brevity leaves the tool under-explained rather than over-worded.

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?

For a three-parameter mutation tool with zero annotation coverage, no output schema, and no schema descriptions, the definition does far too little — no error behavior, no confirmation of what is returned, no per-field value format. An agent could invoke it but would be guessing on several fronts.

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 0%, so the description must compensate; it does partially by constraining 'field' to status, owner, segment, or notes, which the schema does not express (no enums). However, 'accountId' and 'value' remain undefined — notably what string form 'value' takes for each field (e.g., owner ID vs. status token).

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 names a specific verb ('Update') and resource ('an allowed field on a fictional account record') and enumerates the editable fields. It is clearly distinguishable from the siblings (draft_customer_email, get_audit_log, propose_spend), though it does not explicitly contrast with them.

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

Usage Guidelines3/5

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

Usage is only implied: the reader infers this tool edits one field at a time on an existing record, and 'allowed field' implies a whitelist. There is no explicit statement of when to prefer it over other paths, no prerequisites (permissions, record state), and no guidance on what to do for fields outside the list.

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