Skip to main content
Glama

get_dysfunction

Read-onlyIdempotent

Fetch one dysfunction's full Pattern entry, including aliases, the unit-of-analysis block and explicit review/evidence states. Optionally filter to specific modality blocks (cheaper triage). Resolves both full Pattern IDs ('2.1::synthetic-confabulation') and display_ids ('2.1'). Numeric thresholds are provisional heuristics with unestablished calibration.

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": {
      "id": "<id>"
    },
    "name": "get_dysfunction"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesPattern ID or display_id.
modalitiesNoOptional subset of modality block names to return. Valid: self_probe, behavioral_signature, peer_observation, differential_diagnosis, severity, intervention, relational_signatures, normative_anchors, cross_references.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / id / pattern
      Previous value: -"\\S"New value: +"^[\\s\\S]*\\S[\\s\\S]*$"
  2. Changed7 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +false
    • addedInput schema / properties / id / maxLength
      Added value: +256
    • addedInput schema / properties / id / minLength
      Added value: +1
    • addedInput schema / properties / id / pattern
      Added value: +"\\S"
    • addedInput schema / properties / modalities / items / enum
      Added value: +[
      +  "self_probe",
      +  "behavioral_signature",
      +  "peer_observation",
      +  "differential_diagnosis",
      +  "severity",
      +  "intervention",
      +  "relational_signatures",
      +  "normative_anchors",
      +  "cross_references"
      +]
    • addedInput schema / properties / modalities / maxItems
      Added value: +9
    • addedInput schema / properties / modalities / uniqueItems
      Added value: +true
  3. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, closed-world, non-destructive behavior, so the description only had to add context — and it does: ID-format resolution, the cost trade-off of block filtering, and the caveat that numeric thresholds are provisional heuristics with unestablished calibration. It does not state what happens for an unknown or ambiguous ID, which is the main remaining behavioral gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three sentences, front-loaded with what is returned, then the optional filtering behavior, then the calibration caveat. Every sentence adds distinct information and nothing is repeated from the schema verbatim.

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 carries the burden of describing the return value, and it does so at a useful level (aliases, unit-of-analysis block, review/evidence states). It stops short of describing the internal shape of those blocks or failure behavior, which a careful agent would still want for a two-parameter fetch tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description goes further by giving concrete ID formats ('2.1::synthetic-confabulation' vs '2.1') that the schema's 'Pattern ID or display_id' wording does not illustrate. The modalities parameter is also given a purpose (cheaper triage) beyond the schema's plain enum listing.

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 ('Fetch one dysfunction's full Pattern entry') and enumerates what that entry contains (aliases, unit-of-analysis block, review/evidence states). The word 'one' plus 'full' distinguishes it from the list-style siblings such as list_dysfunctions, and the modality-filter sentence clarifies it returns a trimmed entry on request.

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

Usage Guidelines4/5

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

Gives real invocation guidance: use the modalities subset for 'cheaper triage' rather than always pulling the full entry. It does not say when to prefer this over get_differential_map, resolve_id, or render_pattern_review, so the routing to siblings is left to inference.

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.