Skip to main content
Glama

WritersLogic research agents

sequence-identifier

Integer Sequence Identifier — Identifies an integer sequence from terms (a JSON array or pasted text), an OEIS A-number, a safe-parsed formula or recurrence, or a description, and leads with a verdict, confidence, A-number, formula, next terms and a next step. Searches the OEIS directly, then superseeker-style (differences, partial sums, gcd, ratios, binomial, Euler, leading terms, plus a search without the last two terms to f

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "sequence-identifier"
  }
}

Input Schema

NameRequiredDescriptionDefault
countNoHow many terms to expand from the formula; default 20.
startNoIndex n of the first expanded term; default 0.
termsNoInteger terms, 4 to 60, each at most 40 digits. Pass values beyond 2^53 as decimal strings.
aNumberNoAlternative to terms: an OEIS A-number (A000108) or oeis.org URL. The entry is fetched and its data searched for related sequences; returns its name, formulas and next terms.
explainNoAsk a model for a one-sentence explanation drawn only from the matched OEIS entry; its quote is verified in code, otherwise the entry name is returned. Default false.
formulaNoAlternative to terms: a closed form in n such as "binomial(2*n,n)/(n+1)", or a recurrence such as "a(n) = a(n-1) + a(n-2)" (with initialTerms). Operators + - * / % ^, functions binomial fact abs gcd min max floor mod. Evaluated by a safe parser, never eval; every term must be an integer.
termsTextNoAlternative to terms: the terms pasted as text, separated by commas, spaces or semicolons (for example copied from a spreadsheet, a paper or an OEIS data line).
descriptionNoAlternative to terms and formula: a plain-language description. A short description that names an entry (up to 4 content words, all in the entry name, e.g. Catalan numbers) is resolved by OEIS text search with no model; otherwise one fast model call proposes terms and keywords, which OEIS then confirms.
initialTermsNoSeed values a(start), a(start+1), ... for a recurrence formula.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose real behavior: it searches OEIS directly first, then falls back to superseeker-style transforms (differences, partial sums, gcd, ratios, binomial, Euler, leading terms, and a search dropping the last two terms). It also previews the response shape. It omits latency, rate limits, and network dependence for a tool that is clearly doing external lookups.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The content is dense but delivered as one long run-on sentence, and the text is cut off mid-word ('to f'), losing whatever the final sentence was going to say. Front-loading the identifier framing is good, but the structure is not clean.

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?

For a nine-parameter, no-output-schema tool, the description does well to name the return fields (verdict, confidence, A-number, formula, next terms, next step). However, the truncation leaves the fallback behavior and any failure/ambiguity handling unexplained, so it falls short of complete.

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 every parameter including the 'alternative to terms' framing. The description's enumeration of input modes reinforces but does not extend the schema, so baseline 3 applies.

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 and resource (identifies an integer sequence) and enumerates the exact input modes it accepts: terms array, pasted text, OEIS A-number, formula/recurrence, or a description. An agent can immediately tell whether it holds a suitable input for this tool.

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 the input modes are mutually exclusive alternatives, which is useful routing guidance, but it never states when to prefer one mode over another or when to skip this tool entirely. No prerequisites, no mention of what to do if the sequence is not in OEIS.

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