Skip to main content
Glama

Update loanable item

update_loanable_item
Idempotent

Update a loanable item by id (only provided fields).

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>"
    },
    "name": "update_loanable_item"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
nameNo
activeNo
descriptionNo
quantity_totalNo
target_tenant_idNoPlatform super-admins only: operate on this tenant instead of your own.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true and destructiveHint=false, so the safety profile is covered. The description adds one genuinely useful behavioral detail beyond that: omitted fields are left unchanged. It says nothing about what happens when quantity_total is reduced below current allocations, whether inactive items stay referenced, or what is returned.

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?

A single short sentence with the resource and key front-loaded and no filler. Its brevity is efficient, though it borders on under-specification given the six-parameter surface.

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 description covers the minimum an agent needs to issue a partial update keyed by id, and there is no output schema to explain. However, for a six-parameter mutation tool with thin schema coverage, it omits error behavior, existence requirements, and field-level effects, leaving clear gaps.

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?

With 6 parameters and only 17% schema description coverage, the description must carry the semantic load, but it only explains that id identifies the item and that other fields are optional. It adds no meaning for name, active, description, or quantity_total, and says nothing about the tenant-scoping parameter beyond what the schema already 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?

Names a specific verb and resource ("Update a loanable item") and states the addressing key ("by id"), plus the partial-update qualifier "only provided fields." It is clear what the tool does, though it does not explicitly distinguish itself from update_* siblings or from create_loanable_item beyond the verb.

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?

No guidance on when to use this versus alternatives such as create_loanable_item or list_loanable_items, and no prerequisites stated (e.g., that the id must already exist). The only usage-adjacent information is the implied PATCH semantics from "only provided fields."

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