Skip to main content
Glama

apply_strategy

Adopt an approved strategy by providing its ID and optional context. Automatically records the application and increments the apply counter.

Instructions

采纳一个已审批的策略。记录到策略应用记录中,apply_count 自增。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
strategy_idYes策略 ID
contextNo应用场景描述
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It discloses that the tool records to a log and increments apply_count, which are important behavioral traits. However, it does not explain error conditions (e.g., if the strategy is not approved) or idempotency, leaving some gaps.

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?

The description is two short sentences, front-loading the main action and side effects without any unnecessary words. Every sentence adds value.

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 simple tool with two parameters and no output schema, the description covers the core function and side effects. It implies the prerequisite (strategy must be approved) but could be more explicit. Lacking return value info, but overall adequate.

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 100% with descriptions for both parameters. The tool description adds no additional meaning beyond what is in the schema, so it meets the baseline expectation but does not exceed it.

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 the tool applies an approved strategy ('采纳一个已审批的策略') and mentions specific side effects like logging and incrementing a counter. It distinguishes from sibling tools like approve_strategy or propose_strategy.

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 implies that the strategy must be approved before use ('已审批的策略'), providing clear context. However, it does not explicitly state when not to use this tool or recommend alternatives, although the sibling tool list includes approve_strategy, which helps differentiate.

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/liuboacean/agent-comm-hub'

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