Skip to main content
Glama

copilot-studio-friction-index

Get a full pattern

get_pattern
Read-only

The complete prevention pattern for a slug: the pattern, when to use it, and step-by-step instructions as markdown, plus the friction records it protects against.

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": {
      "slug": "<slug>"
    },
    "name": "get_pattern"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugYesPattern slug, e.g. "async-continuation" (from list_patterns).
localeNoOutput and citation language. English fallback when a current German translation is unavailable.en

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / locale
      Added value: +{
      +  "default": "en",
      +  "description": "Output and citation language. English fallback when a current German translation is unavailable.",
      +  "enum": [
      +    "en",
      +    "de"
      +  ],
      +  "type": "string"
      +}
  2. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint and openWorldHint, so safety is covered. The description usefully discloses what the response contains (markdown instructions plus associated friction records), but says nothing about behavior for an unknown slug or how the locale English fallback manifests.

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?

A single front-loaded sentence with no filler, and the payload contents are listed before the auxiliary friction-record clause. Slightly awkward phrasing ('the pattern... plus the friction records it protects against') but efficient.

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?

With no output schema, the description does the necessary work of stating the return format (markdown) and the included friction records. For a read-only two-parameter lookup, the remaining gaps (invalid-slug behavior, response shape details) are minor.

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%, documenting both slug and locale (including the German fallback), so baseline 3 applies. The description adds no meaning beyond the schema for either parameter.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States the resource (the complete prevention pattern for a slug) and enumerates the payload: the pattern, when to use it, step-by-step markdown instructions, and the friction records it protects against. That distinguishes it from list_patterns and get_friction_record by content, though it never names a sibling explicitly.

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?

Usage is only implied: 'for a slug' plus the schema note that slugs come from list_patterns suggests this is the detail-fetch after listing. There is no explicit when-to-use or when-not-to-use statement, and no routing away from lookup_error or get_friction_record.

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