Skip to main content
Glama

quran.ai

Turn AI help with new notes on or off

interactive_study_ledger_ai_help
Idempotent

Turn the reader's AI help with new notes on or off, only when the user asks. While it is on, notes the user saves in the reader reach you as Ledger notices; while it is off, they stay in the reader until the user sends them. Every open reader follows at once. Failure contract: [invalid_request] when this host keeps the setting in the reader, naming where the user can change it; [service_unavailable] when it cannot be saved.

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": {
      "on": "<on>"
    },
    "name": "interactive_study_ledger_ai_help"
  }
}

Input Schema

NameRequiredDescriptionDefault
onYesTrue turns it on; false turns it off

Output Schema

NameRequiredDescriptionDefault
onYes
sentenceYesRepeat this to the user

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Goes well past annotations (readOnly=false, idempotent, non-destructive) by describing the actual consequences of each state: saved notes become Ledger notices when on, stay local when off. It also discloses propagation scope ('every open reader follows at once') and a failure contract with two named error codes and their meanings.

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?

Purpose, user-consent gate, state semantics, propagation scope and failure contract in three front-loaded sentences with no filler. The dense bracketed error codes are information the agent needs, so their compactness is justified rather than wasteful.

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?

An output schema exists, so return values need no explanation, and the description covers everything else an agent needs for a single-boolean mutation: consent condition, state semantics, scope of effect, and error handling.

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% and the boolean is already labeled, so the baseline is 3; the description adds real meaning by spelling out the downstream effect of true versus false, not just the switch direction. It stops short of noting any edge case such as re-applying the current value.

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?

States a specific verb ('Turn ... on or off') and a precisely scoped resource ('the reader's AI help with new notes'), which no sibling toggle covers. An agent can tell this apart from settings-update or account siblings without opening a schema.

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?

Gives an explicit activation gate — 'only when the user asks' — which is the key usage constraint for an agent acting on a user preference. It does not name alternatives or a when-not condition beyond that gate, so it falls short of full routing guidance.

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.