Skip to main content
Glama

Star a hub strategy

star_strategy
Idempotent

Answers 'star this strategy so it counts toward Trending.' Give a slug; pass unstar=true to remove your star. Returns the slug, star count and public page URL. Stars feed the Trending list; rankings stay on deflated Sharpe and forward record. If the slug is unknown or private, the error says so - call list_strategies to find a public strategy.

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": {
      "slug": "<slug>"
    },
    "name": "star_strategy"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugYes
unstarNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare the write/idempotent/non-destructive profile, and the description adds meaningful context on top: what the star actually affects (the Trending list) and what it does not affect (rankings remain on deflated Sharpe and forward record). It also discloses the failure mode for unknown or private slugs and the returned fields (slug, star count, public page URL). Authentication requirements are only implied by 'your star'.

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?

Four short sentences, each carrying distinct information (operation, toggle, return shape, ranking caveat, error path), with the core action front-loaded. The opening 'Answers "star this strategy..."' framing is slightly indirect compared to a plain imperative, but the content is dense and waste-free.

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?

There is no output schema, and the description compensates by naming the returned fields; there are only two parameters, both explained; and the mutation's side effect on Trending is disclosed. What remains unstated is auth/account prerequisites and whether starring is per-user or global, a minor gap for a low-risk two-parameter tool.

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?

With 0% schema description coverage, the description must supply all meaning, and it does: slug is the public strategy identifier, and unstar=true flips the operation to removal rather than addition. It does not state the default value of unstar explicitly or slug format constraints, so it stops at 4.

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 and resource ('star this strategy') and immediately clarifies the scope ('counts toward Trending'), plus it distinguishes the star and unstar paths in one tool. It is clearly not get_strategy, publish_strategy, or comment_strategy, though it does not itself draw those contrasts.

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 states the trigger condition (you want the strategy to count toward Trending), the inverse operation (unstar=true to remove), and a concrete fallback: on an unknown or private slug, call list_strategies to find a public strategy. No explicit when-not-to-use statement, which keeps it just short of a 5.

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.