Skip to main content
Glama

爱佳肴 Love Life

update_restaurant

更新店铺,只传要改的字段;传 dishes 会整体替换菜品列表。已认领的店只有认领者可改。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
changesYes
store_idYes
agent_keyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the behavioral burden and does disclose two non-obvious traits: the whole-list replacement of dishes (destructive) and the ownership restriction on claimed stores. It still omits error/failure behavior, auth mechanism, and reversibility, so not a 5.

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 compact clauses, front-loaded with the core action, then the highest-risk gotcha (dishes replacement), then the permission constraint. No filler.

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?

For an unannotated mutation tool with no output schema it covers the main gotchas (patch semantics, destructive replacement, permissions), but leaves the agent without any notion of the response, failure modes, or the meaning of agent_key.

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?

Top-level schema coverage is listed at 0%, and the description compensates only for the patch semantics and the dishes replacement rule. It says nothing about store_id or the optional agent_key, so the agent gets only a partial picture of the required inputs.

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+resource (更新店铺 / update store) plus the key patch semantics, so the agent immediately knows this is the mutation counterpart to get_restaurant/search_restaurants. It does not explicitly name the alternative tools, so it falls short of 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 Guidelines3/5

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

Gives partial-update guidance ('只传要改的字段') and a permission precondition ('已认领的店只有认领者可改'), which is useful when-to-use context. However it names no alternatives and no when-not-to-use, leaving the agent to infer usage from siblings.

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