Skip to main content
Glama

update_testimonial

Update a Testimonial record by id.

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_testimonial"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
dataYesFields to update

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / data / properties / comment / description
      Previous value: -"Review text written by the user (minLength: 10; maxLength: 400)"New value: +"Review text written by the user (maxLength: 400; minLength: 10)"
    • changedInput schema / properties / data / properties / display_name / description
      Previous value: -"Display name shown on the review (minLength: 2; maxLength: 30)"New value: +"Display name shown on the review (maxLength: 30; minLength: 2)"
    • changedInput schema / properties / data / properties / rating / description
      Previous value: -"Star rating from 1 to 5 (minimum: 1; maximum: 5)"New value: +"Star rating from 1 to 5 (maximum: 5; minimum: 1)"
  2. First observed

TDQS

C2.6/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, yet it says nothing about whether this is a partial or full replacement update, what happens to fields in 'data' that are omitted, whether status/featured changes require admin rights, or whether updates are reversible. 'By id' at least signals single-record targeting, which is the only behavioral signal present.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single front-loaded sentence with zero padding, but at seven words it is under-specified rather than concise. There is no structure beyond the bare statement of purpose.

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 mutation tool with no annotations, no output schema, a nested payload and only 50% schema coverage, the description omits update semantics, permission requirements and expected response. The nested field docs recover some ground, but the definition as a whole is thin for this complexity.

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 coverage is 50%: the nested 'data' object is well documented field-by-field, but the top-level 'id' has no schema description and the description only echoes 'by id'. Nothing is added about the merge/patch semantics of 'data' — the single most important thing an agent needs to know about a nested update payload.

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 and resource ('Update a Testimonial record') plus the addressing key ('by id'), which cleanly separates it from create_testimonial, delete_testimonial and query_testimonial. It stops short of explicitly contrasting with those siblings, so it lands just below the top mark.

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?

There is no guidance on when to use this versus create/query/delete, and no stated preconditions such as needing an existing id or admin privileges. The agent must infer everything about context from the name alone.

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