Skip to main content
Glama

Search by Sketch

search_by_sketch
Read-onlyIdempotent

Find past windows whose close path follows a described shape. Pass a short close path, for example a dip then a rise as [100, 98, 97, 101, 104]. Say when the matches occurred and what they looked like. This search is shape only and does not include volume. Not a forecast and not a side.

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": {
      "queryValues": "<queryValues>"
    },
    "name": "search_by_sketch"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax matches to return
symbolNoReference symbol for scaleBTCUSDT
intervalNoReference interval1h
token_idNoOptional token. No token or payment is needed during the free access experiment.
chart_tokenNoOptional account key; all tools work anonymously during the free access experiment.
queryValuesYesArray of price points representing the sketched pattern (e.g. [10, 11, 10.5, 12])

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / chart_token / description
      Previous value: -"Optional Chart access token. Prefer the X-Aipp-Chart header in the MCP client config so every tool call is covered."New value: +"Optional account key; all tools work anonymously during the free access experiment."
    • changedInput schema / properties / token_id / description
      Previous value: -"Optional Chart access token (64-hex, same as X-Aipp-Chart / the token on /profile). After the daily free MCP quota, paid tools require the Chart $29/mo Stripe subscription. Legacy Manus token_id still works only when MCP_BILLING=manus."New value: +"Optional token. No token or payment is needed during the free access experiment."
  2. Changed2 schema fields changed
    • addedInput schema / properties / chart_token
      Added value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "anyOf": [
      +    {
      +      "not": {}
      +    },
      +    {
      +      "minLength": 1,
      +      "type": "string"
      +    }
      +  ],
      +  "description": "Optional Chart access token. Prefer the X-Aipp-Chart header in the MCP client config so every tool call is covered."
      +}
    • changedInput schema / properties / token_id / description
      Previous value: -"Optional Manus access token. Paid tools use tokenized service access, not a monthly subscription: when token_id is omitted the server returns payment_required with a Solana Pay invoice, and after payment you retry with the same token while the server uses Manus token/resolve to recover pending access."New value: +"Optional Chart access token (64-hex, same as X-Aipp-Chart / the token on /profile). After the daily free MCP quota, paid tools require the Chart $29/mo Stripe subscription. Legacy Manus token_id still works only when MCP_BILLING=manus."
  3. First observed

TDQS

A3.6/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 openWorldHint=false, so the safety profile is covered. Beyond that, the description discloses the matching basis (close-path shape only, volume excluded), the output character ('Say when the matches occurred and what they looked like'), and what the result is not ('not a forecast and not a side') — genuine behavioral context not available from the structured fields.

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?

Purpose is front-loaded in the first sentence, followed by input guidance and then scope exclusions in a logical order. Sentences are short and mostly earn their place, though 'Say when the matches occurred and what they looked like' is loosely worded and could be tightened into a clearer return-value statement.

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

Completeness3/5

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

With 100% schema coverage the parameter side is well served, and the description hints at the return content in lieu of an output schema. Gaps remain for a search tool: what a 'window' is in this domain, whether matches are ranked or scored, and how limit and the reference symbol/interval influence scaling are all 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 description coverage is 100%, so the schema already documents all six parameters including queryValues with its own example. The description adds modest meaning — that the array should be 'short' and represents shape rather than absolute price level — but does not explain how limit, symbol, or interval affect matching beyond their schema text. Baseline 3 is appropriate.

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 opens with a specific verb and resource: 'Find past windows whose close path follows a described shape.' It also bounds the operation ('shape only and does not include volume', 'not a forecast and not a side'), which separates it from forecasting or side-oriented siblings. It stops short of naming a concrete alternative tool, so an agent must still infer which sibling to pick.

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?

It gives invocation guidance ('Pass a short close path, for example a dip then a rise as [100, 98, 97, 101, 104]') and a scope exclusion ('does not include volume'), which implies when not to use it. However, no alternative tool is named and there is no explicit when-to-use condition relative to the many sibling research/analogue tools, leaving routing to inference.

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