Skip to main content
Glama

Update Vendor

update_vendor
Destructive

Use this when working with RetailHardHat vendors records in the connected organization. Update allowed fields of vendor. No change occurs until a human approves the exact request in Settings > MCP and execute_approved_action is called. MCP approval requirements are configurable by the organization administrator; business workflow approvals always apply.

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": {
      "id": "<id>",
      "data": "<data>"
    },
    "name": "update_vendor"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
dataYes

Output Schema

NameRequiredDescriptionDefault
dataYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=false and readOnlyHint=false, and the description does not contradict them. It adds substantial context beyond the annotations: the human-approval gate, the exact-request approval model, and administrator-configurable MCP approval requirements. It does not say what happens to fields omitted from data, or how an unapproved/pending request behaves.

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?

Four tight sentences with no filler; the approval caveat is stated directly rather than buried. The opening "Use this when working with RetailHardHat vendors records in the connected organization" is somewhat boilerplate and costs a few words before the actual verb appears.

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?

An output schema exists and annotations cover the safety profile, so the description needn't explain return values or destructiveness. But for a 2-param mutation with a nested 12-field payload at 0% schema coverage, the description should have clarified which fields are editable and whether updates are partial or replacing.

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% and there are no param descriptions at all, so the description must carry the burden and does not. It never explains that id is the vendor UUID nor clarifies partial-vs-full update semantics for the nested data object (12 optional fields, additionalProperties false, nullables) — the single most important ambiguity for an update tool.

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: "Update allowed fields of vendor." The RetailHardHat vendor scope is made explicit, so it is distinguishable from update_contact/update_site by name and scope. However, "allowed fields" is never enumerated (that work is left entirely to the schema), which keeps it from a 5.

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 a genuine precondition for use: no change takes effect until a human approves the exact request and execute_approved_action is called, and business workflow approvals always apply. That tells the agent how this tool fits into a two-step workflow. It stops short of naming alternatives (get_vendor to read current values, list_vendors to find an id) or any when-not-to-use condition.

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