OneLongTail

Courses · Course 5 of 7

Tools, MCP and Skills for Agents

Design a small, well-described, token-efficient toolset; ship it as an MCP server on the 2026-07-28 spec; evaluate it with agents; secure it.

client MCP server → tools/list ← tools: search, get_issue → tools/call search since="May 2" ← isError: true · use YYYY-MM-DD → tools/call search since="2026-05-02" ← isError: false · 12 issues
An illustration of the course’s subject, not a recording.
18lessons
4modules
0open now

Who it is for

Engineers who build tools, MCP servers or skills that agents use, including teams exposing their product to agents.

Each lesson is a short simulation: you read what an agent did, a config or a tool output, make one decision and see at once whether it holds. Real terms, real commands, sourced from primary documentation.

4 modules

  1. Designing tools agents use well5 lessons
  2. MCP on the current spec7 lessons
  3. Skills and connectors3 lessons
  4. Safe tools3 lessons

Modules · lessons are being built

01Designing tools agents use well5 lessons
  1. 01Fewer, purpose-built toolsComingReplace thin API wrappers with a few workflow tools.
  2. 02NamespacingComingPrefix related tools so the agent picks the right one.
  3. 03High-signal responsesComingReturn readable names and only what the agent will act on.
  4. 04Descriptions as promptsComingWrite tool descriptions for a new teammate and measure the difference.
  5. 05Errors that help the agent recoverComingReturn actionable error messages instead of stack traces.
02MCP on the current spec7 lessons
  1. 06MCP in one pictureComingHost, client, server; tools, resources, prompts.
  2. 07Stateless MCP and server/discoverComingBuild against the 2026-07-28 request model with version in _meta.
  3. 08Asking the user mid-call (MRTR)ComingUse input_required results instead of server-initiated requests.
  4. 09Long-running work with the tasks extensionComingReturn task handles and let clients poll.
  5. 10Output schemas and structured contentComingDeclare outputSchema so callers can check results.
  6. 11Cache-friendly serversComingDeterministic tools/list order and ttlMs to help prompt caching.
  7. 12Authorization done rightComingValidate iss, bind credentials per issuer, prefer Client ID Metadata Documents.
03Skills and connectors3 lessons
  1. 13Skill or MCP server?ComingChoose knowledge-in-files vs live connection per need.
  2. 14Authoring a skillComingShort description, progressive body, scripts for deterministic steps.
  3. 15API connector vs computer useComingPick the interface by reliability and cost.
04Safe tools3 lessons
  1. 16The lethal trifectaComingCut one leg: private data, untrusted content, external communication.
  2. 17Least privilege and stagingComingScoped keys, test copies, approval on destructive tools.
  3. 18Capstone: ship and evaluate an MCP serverComingBuild a server for a real system, run agent evals on it, fix by transcript.

Built on primary sources