Skip to main content
Glama

Chamfer: CNC machining, molding, sheet metal and PCB RFQs; MRO parts by part number

Change a requirement by field

edit_requirement
Idempotent

Set fields by name ({"op":"set","values":{...}}, an empty value clears) or change the list ({"op":"add"|"update"|"remove"|"replace", ...}), exactly as given: no reading. Use it to answer the open question when the answer is a value.

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": {
      "slug": "<slug>",
      "id": "<id>",
      "token": "<token>",
      "ops": "<ops>"
    },
    "name": "edit_requirement"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe requirement id from an earlier answer
opsYes
slugYesThe service, from list_propositions
op_idNo
tokenYesIts private token (also the receipt token of the request it is sent as); keep it private
base_revisionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, destructiveHint=false, so safety framing is covered. The description adds real behavioral context beyond them — 'an empty value clears' (a subtle destructive side effect within a non-destructive tool) and 'exactly as given: no reading' (no read-modify-write, ops applied literally). It still says nothing about base_revision conflicts, token handling, or what a call returns.

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 short with no filler, but it is front-loaded with payload syntax instead of purpose, and phrases like 'exactly as given: no reading' are compressed to the point of ambiguity. An agent reading top-down learns the ops format before learning what the tool is for.

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 a 6-parameter mutation tool with no output schema, the definition covers the ops contract well but omits concurrency behavior (base_revision), token privacy implications, and any statement of what a successful edit produces. The 'empty value clears' warning is the kind of detail that matters most, and it is present, but the picture is still incomplete for a state-changing call.

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

Parameters4/5

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

Schema coverage is 50%, and the undocumented parameter is the critical one: ops is an untyped array of free-form objects in the schema. The description supplies the actual grammar ({"op":"set","values":{...}} vs {"op":"add"|"update"|"remove"|"replace", ...}) and the empty-value-clears rule, which is meaning no schema field provides. Remaining gaps (op_id, base_revision semantics) are partially covered by the schema itself.

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

Purpose3/5

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

The description conveys that this is a field/list mutation driven by an ops array, but it never names the resource being edited (a requirement) nor a clean verb+object pair — that only comes from the title. 'Set fields by name ... or change the list' describes the payload grammar rather than the operation, so an agent must infer the purpose from the title and slug/id parameters.

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?

'Use it to answer the open question when the answer is a value' is a genuine when-to-use cue, implying a sibling handles answers that are not plain values. But it is terse and presupposes knowledge of what 'the open question' is, and it names no alternative tool or exclusion condition, leaving the routing decision partly to inference.

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