Skip to main content
Glama
Mipiti MCP Server
by Mipiti

Declare Behavioural Link

declare_behavioural_link

Declare which asset or trust boundary a behavioural element or zone represents, linking model nodes to entities so analysis reaches the right judgements.

Instructions

Declare the asset or trust boundary a behavioural element or zone is. Mutating; creates no model version.

The link is checked on every read: one whose asset lacks the property the element carries is kept and asked about. A link that counts changes what the analysis reaches, so the judgements it re-keys are queued, charged to the caller.

A program's declaration is a judgment. Unless the workspace's delegation policy admits it, it is refused with 403 and an escalation_id and parked for a person. Do not retry: report the escalation_id and poll list_proposals.

Returns {model_id, model_version, declared, link, questions, proposals_hash}: the link as stored with whether it counts, the node's open link questions, and the hash a bulk acceptance names now. Read the whole set with get_behavioural_links.

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": {
      "server_version": "<server_version>",
      "model_id": "<model_id>",
      "node_id": "<node_id>",
      "entity_id": "<entity_id>"
    },
    "name": "declare_behavioural_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
node_idYesThe element or zone, from ``get_behavioural_links``.
evidenceNo
model_idYesID of the threat model.
entity_idYesThe asset or trust boundary it is.
component_idNoOptional component the node belongs to.
server_versionYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.106.1
    • addedInput schema / properties / evidence
      Added value: +{
      +  "default": "",
      +  "type": "string"
      +}
  2. Addedv0.87.0

TDQS

A4.1/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so well. It discloses that the call is mutating but creates no model version, that links are re-evaluated on every read with a keep-and-ask policy, that counted links re-key judgements which are queued and charged to the caller, and that non-admitted declarations become 403 escalations parked for a person.

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?

The purpose and mutation profile are front-loaded, and the escalation and return-value details follow in a sensible order. It is dense but nearly every sentence carries distinct information; the phrasing around queued judgements is the only place that takes effort to parse.

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

Completeness5/5

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

Although an output schema exists, the description still usefully names the returned fields and their meaning, and it covers side effects, failure handling, and the read alternative. Nothing an agent needs in order to call this mutation correctly appears to be missing.

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 67%, so the schema already explains most parameters (node_id, entity_id, model_id, component_id). The description adds no per-parameter meaning such as the expected shape of evidence or the role of server_version; it only describes the return object. Baseline 3 is appropriate.

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 first sentence gives a specific verb and resource: declare which asset or trust boundary a behavioural element or zone is, and adds the key qualifier 'Mutating; creates no model version.' It differentiates itself from the read path by pointing at get_behavioural_links. It does not distinguish itself from the other declare_* siblings (declare_control_delta, declare_foundation), so it stops short of a 5.

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 gives explicit operational guidance: if the workspace's delegation policy does not admit the declaration it is refused with 403 and an escalation_id, and the caller must not retry but report the ID and poll list_proposals. It also names get_behavioural_links for reading the whole set. What is missing is guidance on when to choose this tool over other declaration tools.

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

Deploy Server

Other Tools