Skip to main content
Glama

update_score

Update a score's numeric value by score ID; use get_score_history to find the correct ID when needed.

Instructions

Update the value of a score by its score ID. Use get_score_history to find score IDs.

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": {
      "score_id": "<score_id>",
      "value": "<value>"
    },
    "name": "update_score"
  }
}

Input Schema

NameRequiredDescriptionDefault
noteNoOptional note for this score entry
valueYesThe numeric value to set
score_idYesThe score ID to update

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/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 behavioral burden, and it discloses almost nothing: it does not say whether the update overwrites the prior value, whether it is reversible, what permissions are required, or what happens with an invalid score ID. Only the bare fact of mutation is conveyed.

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?

Two short sentences with no filler, and the core action is front-loaded before the prerequisite hint. Every sentence carries information the agent needs.

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?

The parameter surface is fully covered by the schema, so the definition is callable as written. However, for an unannotated mutation tool with no output schema, the absence of any statement about overwrite semantics, validation, or failure behavior leaves a real gap.

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 coverage is 100%, so the schema already documents score_id, value, and note, establishing a baseline of 3. The description adds one genuinely useful piece of provenance — where score_id comes from — but says nothing about the optional note parameter beyond what the schema states.

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 uses a specific verb and resource ("Update the value of a score by its score ID"), which is unambiguous about the operation and its target. It does not differentiate itself from sibling mutation tools like update_metric_for_week or update_rock, but the resource noun 'score' already separates it reasonably well.

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?

It explicitly names the prerequisite tool, get_score_history, and the condition under which to call it (to obtain score IDs). There are no exclusions or when-not-to-use cases, which keeps it short of a 5, but the practical routing guidance is clear.

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