Skip to main content
Glama

Add my own rule to a link

add_my_rule

Adds the person's own rule to someone else's LFG link, from its address: when the rule comes true, it reaches the person alone, never the other riders. For "I like this link but only tell me when..." on a link the person pasted. The rule has to read what the stack already watches; a rule that needs another page, account or wallet watched, or faster checks, is refused with why (that would be the stack's own copy, which is coming). Rides the link when the person is not on it yet. Returns what was added and the link. link is the LFG link's address or code; rule holds the condition, as a sentence in the person's words.

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": {
      "link": "<link>",
      "rule": "<rule>"
    },
    "name": "add_my_rule"
  }
}

Input Schema

NameRequiredDescriptionDefault
linkYesIts address (lfg.gm/a/...), the message it came in, or its code.
ruleYesThe rule in the person's words: "only when three of these wallets buy the same token within 30 minutes", "ring me at $200 instead".
quietNotrue when the rule should not ring: what it finds lands in the daily drop instead.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / link / description
      Previous value: -"The alarm's link (lfg.gm/a/...), the message it came in, or its code."New value: +"Its address (lfg.gm/a/...), the message it came in, or its code."
  2. Added

TDQS

A3.8/5.0
Behavior4/5

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

Beyond the annotations, the description discloses important behavior: the rule reaches only the person, never other riders; unsupported rules are refused with a reason; and the person rides the link if not already on it. It also says the tool returns what was added and the link, though it does not discuss duplicate-rule handling.

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

Conciseness3/5

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

The description is front-loaded with the core purpose, but the prose is unnecessarily convoluted in places, especially the parenthetical about the stack's own copy. Several sentences are useful, but the structure could be tighter and clearer.

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 three-parameter mutation tool with no output schema, the definition covers purpose, constraints, refusal behavior, and the return shape. It is fairly complete, though some behavioral details such as authentication or duplicate-rule handling are left implicit.

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%, so all three parameters are already documented in the input schema. The description clarifies that link is an address or code and that rule is a condition in the person's words, but it mostly restates schema content and does not mention the quiet parameter.

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 states a specific verb and resource: adding the person's own rule to someone else's LFG link. It is clearly distinct from sibling tools like add_finding or add_media_file, though it does not explicitly name an alternative.

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 a clear use case: 'I like this link but only tell me when...' on a link the person pasted. It also explains when the rule will be refused, based on what the stack already watches, but does not name alternative tools.

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.