Skip to main content
Glama

Prepare a profile update

update_company_profile

Stage changes to the signed-in merchant's name, website, phone or categories. Returns intent, expires_at and consequence for approval; confirm_update_company_profile applies it. Requires company:write; the account selects the business.

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": {
      "idempotency_key": "<idempotency_key>"
    },
    "name": "update_company_profile"
  }
}

Input Schema

NameRequiredDescriptionDefault
phoneNo
websiteNo
categoriesNo
display_nameNo
idempotency_keyYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Adds real context beyond the annotations: the operation is non-committal staging that returns intent, expires_at and consequence, and it declares a company:write authorization requirement. Annotations already declare non-readOnly, non-destructive, non-idempotent, so the remaining gap is minor — the description never says whether omitted fields are left untouched or whether categories/display_name replace prior values.

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?

Three short clauses, zero filler, and the staging semantics plus the hand-off tool are front-loaded ahead of the auth note. Every sentence carries distinct information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a five-parameter, two-phase mutation with no output schema, the description covers the scope requirement and enumerates the returned fields (intent, expires_at, consequence), which is what an agent needs to plan the confirm step. The missing pieces are the mandatory idempotency_key and what happens to fields left null or omitted.

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 carry parameter meaning; it names four of the five inputs (name→display_name, website, phone, categories) which is genuinely useful, but the required idempotency_key is never mentioned and no format or partial-update semantics are given. It partially compensates for the coverage gap rather than fully closing it.

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?

Uses a specific verb+resource pair ('Stage changes to the signed-in merchant's name, website, phone or categories') and explicitly names the counterpart tool, confirm_update_company_profile, that actually applies the change. An agent can distinguish this from confirm_update_company_profile and update_hours without opening any schema.

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?

Makes the two-step flow clear: this tool stages, confirm_update_company_profile applies, and the staged result is time-limited ('expires_at'). It also states the required scope (company:write) and that the account selects the business. It does not explicitly say what to do on expiry or when to abandon a staged intent, so it falls short of full when/when-not guidance.

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