Skip to main content
Glama

update_relation

Modify a semantic relation's type, strength, description, or inverse type by ID to correct relationship data in Creader manuscripts.

Instructions

Update a semantic relation

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

Input Schema

NameRequiredDescriptionDefault
idYesRelation ID
typeNo
strengthNo
descriptionNo
inverseTypeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.11.1

TDQS

D1.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and openWorldHint=true, so the safety profile is covered, but the description adds no behavior beyond that. It does not say whether fields are merged or replaced, whether omitted fields are cleared, whether re-typing a relation is allowed, or what errors occur for a bad ID.

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?

At five words there is no wasted text, but the brevity is under-specification rather than economy. Nothing is front-loaded beyond the verb and resource, so conciseness earns no credit here.

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

Completeness1/5

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

For a mutation tool with five parameters, one required, 20% schema coverage, no output schema and no field-level documentation, this description is nowhere near sufficient. An agent cannot determine legal values, merge semantics, or side effects from it.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 20% – just the required 'id' is documented – and the description mentions no parameters at all. Four parameters (type, strength, description, inverseType) carry no meaning anywhere, including the 1-10 range semantics of 'strength' or how 'inverseType' interacts with the relation being updated.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description expands the name only marginally: 'Update a semantic relation' is essentially a restatement of update_relation, with 'semantic' the sole added information. It does not say what a relation is in this domain or what an update affects, so an agent learns nothing it could not infer from the tool name.

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 when-to-use guidance, no prerequisites, and no mention of the sibling alternatives such as create_relation or delete_relation that share the same resource. The agent must guess that this is the mutation counterpart to those tools.

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