Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

everything: misleading names in get-resource-links (isOdd) and copy-pasted JSDoc tool names

Open Beginner friendly
#5,210 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
82/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
typescript

Research direction

Read src/everything/tools/get-resource-links.ts, src/everything/tools/trigger-long-running-operation.ts, and docs/features.md; the prior PRs #4503 and #4769 are described as prototypes for the refactored code. Rename the misleading flag, document the even/odd ID mapping, and correct each JSDoc tool name. Done when the flag matches its behavior, the mapping is documented, and both headers match the tools their files register.

Written by the indexing model from the issue text.

Description

chore server-everything v2
Problem

Two small naming slips in the everything server, which people read to learn the protocol:

  • In src/everything/tools/get-resource-links.ts, the flag isOdd is computed as resourceId % 2 === 0, so it is true for even IDs (which get Text resources). The behavior is right; the name says the opposite, and docs/features.md doesn't say which IDs map to which resource type.
  • The JSDoc header in src/everything/tools/get-resource-links.ts names the get-resource-reference tool (copied from its neighbor), and the one in src/everything/tools/trigger-long-running-operation.ts misspells its tool's name.
Expected

Rename the flag (for example to isText), document the even/odd mapping, and have each JSDoc header name the tool its file registers.

Prior work
  • #4503 by @Joosboy
  • #4769 by @simpleqt

The PR(s) above targeted the pre-refactor code and are closed as part of the backlog triage in #4875; this issue is where the work continues, with the PR(s) as a prototype. Thank you to their authors.

Dominant language
TypeScript
Stars
91.4k
Forks
11.8k
Avg merge
7h 26m
Merged PRs (30d)
130

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from modelcontextprotocol/servers

All issues in modelcontextprotocol/servers

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.