Skip to main content
Glama

Edit LINE behavior

line_behavior_edit
DestructiveIdempotent

Edits supplied LINE behavior against the saved baseline; live immediately, without sending a message.

False/zero/empty text and [] are explicit values; omitted fields are preserved. line_behavior_read shows the current baseline after conflict or loss; no durable receipt exists.

Input Schema

NameRequiredDescriptionDefault
dataYesLINE group response and welcome-message changes with the baseline from line_behavior_read.
agent_idYesAgent ID from agents_list or agent_create.
channel_idYesChannel ID from channels_list, belonging to this Agent.

Output Schema

NameRequiredDescriptionDefault
effectYes
behaviorYes
channel_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / agent_id / description
      Added value: +"Agent ID from agents_list or agent_create."
    • addedInput schema / properties / channel_id / description
      Added value: +"Channel ID from channels_list, belonging to this Agent."
    • addedInput schema / properties / data / description
      Added value: +"LINE group response and welcome-message changes with the baseline from line_behavior_read."
  2. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Goes well beyond the annotations: it discloses that changes take effect live immediately without sending a message, that the edit is guarded by a baseline from line_behavior_read (optimistic concurrency), and that no durable receipt exists, i.e. no audit trail or undo. Conflict recovery via line_behavior_read is also spelled out, which is exactly the kind of context the destructiveHint/idempotentHint flags cannot convey.

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?

Three compact sentences with no filler, and the core action plus immediate-effect warning are front-loaded. A phrase like 'no durable receipt exists' is terse to the point of being slightly cryptic, costing a little clarity for the compression.

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?

With an output schema, full annotation coverage and full parameter descriptions already in place, the description fills the remaining gaps: live-effect semantics, conflict handling, field-preservation rules and the absence of a receipt. Nothing essential to invoking this mutation correctly is missing.

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 100%, so the baseline is 3, but the description adds a genuinely load-bearing semantic: false/zero/empty text and [] are explicit values while omitted fields are preserved. That PATCH-vs-PUT distinction is not derivable from the schema, where all optional fields default to null.

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?

States a specific verb and resource ('Edits supplied LINE behavior against the saved baseline'), which is far more precise than a restatement of the title. It also names the read counterpart (line_behavior_read) so the agent can separate the mutation from the read, though it doesn't distinguish itself from other settings-editing siblings such as channel_settings_edit.

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?

Usage is only implied: the mention of line_behavior_read 'after conflict or loss' and the requirement to supply a baseline suggest the intended read-then-edit flow. There is no explicit 'use this when X, not Y' routing statement against the other edit tools in the sibling list.

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