Skip to main content
Glama

Screen a stock

screen_stock
Read-onlyIdempotent

Look up one U.S.-listed stock in the Comet ShariahGrade screen. Returns the verdict and grade, the business-activity finding, the three financial ratios against their limits with the filing each number came from, the Comet Clean Hands Grade, and links to the stock page and methodology. Use this when someone asks whether a specific stock is halal or Shariah-compliant.

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": {
      "symbol": "<symbol>"
    },
    "name": "screen_stock"
  }
}

Input Schema

NameRequiredDescriptionDefault
symbolYesU.S. ticker symbol, for example AAPL or BRK-B.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and a closed-world scope, so the safety profile is covered. The description adds real value on top by disclosing the substantive return payload, including that ratios carry the filing each number came from and that methodology and stock-page links are included. Minor gaps remain around error behavior for invalid or non-covered tickers.

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 sentences, both earning their place: the first is a front-loaded capability-and-output statement, the second is the routing rule. No filler, no restatement of the title.

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?

With no output schema, the description carries the burden of describing return content, and it does so item by item. Combined with full schema coverage for the one parameter and annotations covering safety, an agent has everything needed to invoke it correctly.

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?

There is a single required parameter whose schema description is fully covered (100%), including format examples (AAPL, BRK-B). The prose adds no further constraint such as exchange coverage limits or handling of non-U.S. or delisted symbols, so this sits at the baseline.

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 gives a specific verb and resource ("Look up one U.S.-listed stock in the Comet ShariahGrade screen") and then enumerates exactly what comes back: verdict, grade, business-activity finding, three ratios with source filings, Clean Hands Grade, and links. The singular "one stock" scope naturally separates it from compare_stocks and search_stocks without needing to name them.

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 a clear trigger condition: "Use this when someone asks whether a specific stock is halal or Shariah-compliant." That gives an agent a solid selection rule. It stops short of explicit exclusions or naming the alternative siblings for multi-stock or discovery-style requests.

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.

Resources