Skip to main content
Glama
WhiteNightShadow

camoufox-reverse-mcp

search_code_in_script

Search for specific keywords within a single script file to locate code segments for analysis or debugging during reverse engineering tasks.

Instructions

Search for a keyword within a specific script file.

More targeted than search_code — avoids scanning all scripts and provides more results from the target script.

Args: script_url: URL of the script to search in. Use "inline:" for inline scripts. keyword: The keyword to search for (case-sensitive substring match). max_results: Maximum number of matches (default 100).

Returns: dict with matches list, total_matches count, and script info.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
script_urlYes
keywordYes
max_resultsNo
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It discloses key behavioral traits: the search is case-sensitive substring match, it returns a dict with matches, total count, and script info, and it has a default max_results of 100. However, it lacks details on error handling, performance implications, or authentication needs, leaving some gaps.

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?

The description is appropriately sized and front-loaded: the first sentence states the core purpose, followed by comparative context, and then a structured breakdown of args and returns. Every sentence adds value without redundancy, making it efficient and well-organized.

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?

Given no annotations and no output schema, the description does a good job covering the tool's functionality, parameters, and return structure. It explains the search behavior, parameter details, and output format. However, it could be more complete by addressing potential errors or edge cases, slightly reducing the score.

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 description coverage is 0%, so the description must compensate. It adds meaningful semantics for all parameters: script_url specifies 'URL of the script to search in' with a special 'inline:<index>' format, keyword explains 'case-sensitive substring match,' and max_results notes the default value. This covers all three parameters effectively beyond the basic schema.

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 clearly states the tool's purpose with a specific verb ('Search for a keyword') and resource ('within a specific script file'). It explicitly distinguishes this tool from its sibling 'search_code' by noting it is 'more targeted' and 'avoids scanning all scripts,' providing clear differentiation.

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

Usage Guidelines5/5

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

The description provides explicit guidance on when to use this tool versus alternatives: it states 'More targeted than search_code — avoids scanning all scripts and provides more results from the target script,' directly comparing it to a sibling tool. This gives clear context for selection.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/WhiteNightShadow/camoufox-reverse-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server