Skip to main content
Glama

find_firms_by_rules

Search the KB for firms matching a rule preference, such as static drawdown, news trading allowed, daily payouts, or no consistency rule.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
queryYesRule preference or restriction to search for.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are provided, so the description carries full responsibility. It states this is a search operation but does not disclose whether it is read-only, whether special permissions are needed, how the search matches (exact, fuzzy, boolean), or what the response contains. This is a significant transparency gap.

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?

The description is a single sentence with useful examples, no redundancy, and the action is front-loaded. It is concise and clear, though the examples make it slightly longer than necessary. It earns a 4 for being efficient without additional explanatory detail.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema and no annotations, the description should explain what the tool returns, any limitations (e.g., maximum limit), and the nature of the knowledge base. It only states the search action and examples, leaving the response format and edge cases undisclosed. This is insufficient for full agent comprehension.

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?

The schema describes 'query' but not 'limit'. The description adds example rule preferences for the query parameter, providing meaningful context beyond the raw schema. However, it does not explain the 'limit' parameter's behavior, and the schema coverage is only 50%, leaving some parameters without semantic guidance.

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 uses a specific verb 'Search' with a resource 'KB' and clarifies the specific scope 'firms matching a rule preference'. Examples of rule preferences are given, making the purpose clear. However, it doesn't explicitly distinguish from sibling tools like 'search_firms', so it doesn't fully earn a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage when searching for firms by a rule preference, and provides example queries. However, it does not state when not to use this tool or mention alternative tools such as 'search_firms' or 'compare_firm_rules' for different use cases.

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