Skip to main content
Glama
wasintoh

line-oa-mcp-ultimate

by wasintoh

Switch active LINE OA

line_use_oa
Idempotent

Switch the active LINE Official Account for all subsequent tool calls. Use after discovering OAs with line_list_oas to set the default OA for current session.

Instructions

Switch which OA all subsequent tool calls default to (until changed or process restarts). In-memory only — does not edit ~/.line-mcp/config.json.

Args:

  • oa_id: OA id from the multi-OA config (use line_list_oas to discover).

Returns: { active_oa, display_name }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
oa_idYesOA id from line_list_oas
Behavior5/5

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

Annotations indicate idempotentHint=true. Description adds 'In-memory only — does not edit ~/.line-mcp/config.json', disclosing persistence behavior. No contradiction.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two concise paragraphs: purpose then Args/Returns. Every sentence adds value, front-loaded. No redundant information.

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?

Simple tool with one parameter. Description covers purpose, scope, parameter source, and return structure. No gaps given the annotations and schema.

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% with a minimal description for oa_id. The description's Args section adds 'from the multi-OA config' and a hint to use line_list_oas, adding value over schema alone.

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

Purpose5/5

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

The description clearly states 'Switch which OA all subsequent tool calls default to' – a specific verb+resource. It distinguishes from sibling line_list_oas (used to discover OAs) and other OA tools.

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?

The description explicitly references line_list_oas to discover the oa_id, providing a usage hint. It could be improved by stating when not to use it, but the context is clear.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/wasintoh/line-oa-mcp-ultimate'

If you have feedback or need assistance with the MCP directory API, please join our Discord server