Skip to main content
Glama

Propose: Unlink two records

propose_unlink_records

AI Agents (inside one system): Use when the person asks for this in a system whose AI agent may change records: The link between two records removed; both records stay as they are, and only the person can approve it. Give one item per record, at most 25. Nothing is written yet: the answer shows, per record, what it holds now and would hold after, plus a proposal id. Show it to the person, say so first when something would be sent to the people in their system, ask whether to go ahead, and only then call apply_proposal; when needsApproval is true, share the approve link instead. Not for reading (use search_records or get_record).

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": {
      "system": "<system>",
      "items": "<items>"
    },
    "name": "propose_unlink_records"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemsYesOne object per record, at most 25.
systemYesWhich AI agent: the system's id from get_ai_agent_options, or the name of the system or its connection. Ask the person which AI agent they mean unless they named it in this conversation; never pick one yourself.

Output Schema

NameRequiredDescriptionDefault
noticeNo
changesYes
systemIdYes
warningsYes
expiresAtYes
approveUrlYes
proposalIdYes
systemNameYes
needsApprovalYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / items / items / properties / other_type / enum
      Previous value: -[
      -  "contact",
      -  "opportunity",
      -  "invoice",
      -  "estimate",
      -  "job",
      -  "appointment",
      -  "business",
      -  "custom_record"
      -]New value: +[
      +  "contact",
      +  "opportunity",
      +  "invoice",
      +  "estimate",
      +  "job",
      +  "appointment",
      +  "ticket",
      +  "business",
      +  "custom_record"
      +]
    • changedInput schema / properties / items / items / properties / type / enum
      Previous value: -[
      -  "contact",
      -  "opportunity",
      -  "invoice",
      -  "estimate",
      -  "job",
      -  "appointment",
      -  "note",
      -  "task",
      -  "call",
      -  "meeting",
      -  "email"
      -]New value: +[
      +  "contact",
      +  "opportunity",
      +  "invoice",
      +  "estimate",
      +  "job",
      +  "appointment",
      +  "ticket",
      +  "note",
      +  "task",
      +  "call",
      +  "meeting",
      +  "email"
      +]
  2. Changed1 schema field changed
    • changedInput schema / properties / system / description
      Previous value: -"Which AI agent: the system's id from get_ai_agents_info, or the name of the system or its connection. Ask the person which AI agent they mean unless they named it in this conversation; never pick one yourself."New value: +"Which AI agent: the system's id from get_ai_agent_options, or the name of the system or its connection. Ask the person which AI agent they mean unless they named it in this conversation; never pick one yourself."
  3. Added

TDQS

A4.2/5.0
Behavior5/5

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

Annotations only give readOnlyHint=false, destructiveHint=false, idempotentHint=false, openWorldHint=true; the description goes well beyond them by disclosing that nothing is mutated yet, that a proposal id is returned, that the response shows per-record before/after state, that approval is human-gated via needsApproval, and that some actions would notify people in the customer's system. The "at most 25" batching limit is also stated. No contradiction with the annotations: readOnlyHint=false is consistent with a persisted proposal record.

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?

The when-to-use trigger and the not-written-yet caveat are front-loaded, which is right, but the workflow clause is a single run-on sentence with tangled phrasing ("say so first when something would be sent to the people in their system") that takes effort to parse. Several fragments lack a supplied verb. The content is substantive but the structure would benefit from being split into discrete sentences or steps.

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

Completeness4/5

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

For a proposal-generating mutation tool, it covers the essentials: confirmation gate, apply step, approval-link branch, batch size, and what the response contains. An output schema exists so return shape need not be spelled out beyond the before/after summary. It omits error/failure behavior (e.g., what happens with an invalid or already-unlinked pair), which keeps it from a 5.

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 description coverage is 100%, so both parameters (system, items and its nested fields) are already documented in the schema, including the get_ai_agent_options lookup and the 'never pick one yourself' instruction. The description adds only the restated batching cap ("Give one item per record, at most 25") which is already in the schema as minItems/maxItems. Baseline 3 applies because the schema carries the semantic load.

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+resource ("The link between two records removed") and states the critical scope constraint that it is proposal-only ("Nothing is written yet... only the person can approve it"). It separates itself from read paths by naming them ("Not for reading (use search_records or get_record)"), though it never explicitly contrasts with the sibling propose_link_records. The clipped, near-telegraphic phrasing ("The link between two records removed") costs it a point on immediacy but the intent is unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives an explicit trigger ("Use when the person asks for this in a system whose AI agent may change records"), a full follow-up workflow (show the result to the person, warn when something would be sent to people in their system, ask for confirmation, then call apply_proposal, or share the approve link when needsApproval is true), and an exclusion routing reads to search_records/get_record. Alternatives are named with the condition that selects each.

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