agentleFS
madebyarismadebyaris/advance-minimax-m3-cursor-rules/.cursor/rules/minimax-mcp-tools.mdc

advance-minimax-m3-cursor-rules / rules

Cursor rule126 starsChanged 6 months agoMITView on GitHub

MCP and web-tool guidance: current-doc retrieval, direct-tool preference, MCP Apps structured content, and version-aware external lookups.

The file

Show its rules and text

We split this minimax-mcp-tools.mdc into the rules it gives an agent

15 rules. About 0 are common, 14 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈14

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this rule when current documentation, external systems, or plugin-backed tools matter.

    line 8
  2. Distinctive:

    When multiple paths exist, prefer:

    line 12
  3. Distinctive:

    Do not assume old wrapper APIs are present just because they appear in older docs or rules.

    line 20
  4. Very specific:

    Before presenting advice as current, official, recommended, or best practice, verify it against a current authoritative source such as …

    line 36
  5. Distinctive:

    use the actual current month and year

    line 39
  6. Distinctive:

    do not leave placeholders in the search query

    line 40
  7. Distinctive:

    do not rely on stale memory when a current source is available

    line 41
  8. Distinctive:

    Follow the exact schema of currently exposed tools.

    line 45
  9. Distinctive:

    If the environment exposes direct tools, use them directly.

    line 46
  10. Distinctive:

    If the environment exposes resources instead of actions, use the resource discovery and fetch path.

    line 47
  11. Distinctive:

    If a tool returns MCP Apps structured content, use the structured form rather than the prose form.

    line 48
  12. Distinctive:

    Keep assumptions about server names and tool IDs out of general rules.

    line 49
  13. Distinctive:

    If an MCP or plugin call fails:

    line 68
  14. Distinctive:

    remove stale placeholder text

    line 71
  15. Distinctive:

    if the tool returned structured content, check whether the prose view missed a useful field

    line 73

≈ “Common” is an estimate: at least 1 in 5 of the 3,030 Cursor rule files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
minimax-mcp-tools.mdc
---
description: "MCP and web-tool guidance: current-doc retrieval, direct-tool preference, MCP Apps structured content, and version-aware external lookups."
alwaysApply: false
---

# MCP and Web Tools

Use this rule when current documentation, external systems, or plugin-backed tools matter.

## Preferred Order

When multiple paths exist, prefer:

1. direct native tools exposed in the prompt
2. direct plugin or MCP-backed tools exposed in the prompt
3. MCP resource functions when available
4. MCP Apps structured content when returned by a tool
5. `WebSearch` and `WebFetch`

Do not assume old wrapper APIs are present just because they appear in older docs or rules.

## Web Search Discipline

Use `WebSearch` for:
- package versions
- breaking changes
- compatibility questions
- recent framework behavior
- error messages after repeated failures

Use `WebFetch` for:
- official docs pages
- changelogs
- reference pages that need close reading

Before presenting advice as `current`, `official`, `recommended`, or `best practice`, verify it against a current authoritative source such as official docs, release notes, or changelogs.

When versions matter:
- use the actual current month and year
- do not leave placeholders in the search query
- do not rely on stale memory when a current source is available

## MCP Discipline

- Follow the exact schema of currently exposed tools.
- If the environment exposes direct tools, use them directly.
- If the environment exposes resources instead of actions, use the resource discovery and fetch path.
- If a tool returns MCP Apps structured content, use the structured form rather than the prose form.
- Keep assumptions about server names and tool IDs out of general rules.

## Typical Chains

```text
Version check -> install or configure -> verify
Docs lookup -> implement -> behavior check
Resource discovery -> targeted fetch -> synthesize
Visual diff -> grounded report
```

For version-sensitive setup guidance, prefer:

```text
Current authoritative source -> install or configure -> executable verification
```

## Failure Handling

If an MCP or plugin call fails:
- re-check the current schema
- simplify the arguments
- remove stale placeholder text
- fall back to another available source if the integration is optional
- if the tool returned structured content, check whether the prose view missed a useful field

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.