Skip to main content
Glama

mcpforx

get_expertise_insights

Read-only. For an expertise the user authored, returns evidence of how its runs actually went: where runs stop, steps whose branches don't match what agents return, searches that nearly found it, feedback counts, and template suggestions. Use it when the user asks to improve an expertise, then propose edits and apply them with edit_expertise only if the user agrees. Authors only.

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": {
      "code": "<code>"
    },
    "name": "get_expertise_insights"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeYesThe expertise code, from list_skills.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does so well: it declares 'Read-only.' up front and adds a real access constraint ('Authors only') that substitutes for a scope/permission annotation. It also discloses the content of the payload, which matters since there is no output schema. It stops short of noting output size, pagination, or how costly the analysis is, so it is strong but not fully transparent.

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?

The safety and scope facts are front-loaded, and the second sentence sequences the follow-up action efficiently. The mid-sentence enumeration of evidence types is dense but each item conveys distinct, decision-relevant content, so little is wasted.

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

Completeness4/5

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

There is no output schema, so the description must convey return values, and it does by listing the five evidence categories. Combined with the read-only claim, author-only restriction, and the edit_expertise handoff, an agent has what it needs to call and use the tool. Missing only structure-level detail such as how the evidence is organized or whether results can be empty.

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 coverage is 100% and the schema already explains that 'code' is the expertise code sourced from list_skills. The description adds one useful qualifier — the expertise must be one the user authored — but gives no format, casing, or error behavior beyond that. Baseline 3 is appropriate when the schema does the heavy lifting.

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 ('returns evidence of how its runs actually went' for an authored expertise) and then enumerates the concrete evidence categories — stalled runs, branch mismatches, near-miss searches, feedback counts, template suggestions. This is far more specific than the name alone and lets an agent distinguish it from validate_expertise or edit_expertise without opening a schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit trigger ('when the user asks to improve an expertise') plus the correct workflow: propose edits and apply them with edit_expertise only on user agreement. It also names the gating condition ('Authors only'), so an agent knows both when to call and what to do with the result.

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