Skip to main content
Glama
Renwang-Huang

TypeSafe MCP

evaluate

Read-onlyIdempotent

Assess text or structured evidence with noul, choice, or score criteria to obtain raw typed answers, avoiding prose, code, arithmetic, or dates.

Instructions

Evaluate state with TypeSafe Jev and return the raw typed answers. Use for bounded noul, choice, or score questions; never for prose, code generation, arithmetic, or dates.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modelNoOptional model id or alias.
stateYesText or structured evidence.
questionsYesMap of question id to a TypeSafe question.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
modelYes
usageYes
answersYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.6.0
    • changedInput schema / properties / questions / additionalProperties / oneOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "criteria": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "false": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "object"
      -              },
      -              {
      -                "type": "array"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "true": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "object"
      -              },
      -              {
      -                "type": "array"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "instructions": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "object"
      -          },
      -          {
      -            "type": "array"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "type": {
      -        "const": "noul"
      -      }
      -    },
      -    "required": [
      -      "type",
      -      "instructions"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "criteria": {
      -        "additionalProperties": {
      -          "anyOf": [
      -            {
      -              "type": "string"
      -            },
      -            {
      -              "type": "object"
      -            },
      -            {
      -              "type": "array"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ]
      -        },
      -        "maxProperties": 255,
      -        "minProperties": 1,
      -        "type": "object"
      -      },
      -      "instructions": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "object"
      -          },
      -          {
      -            "type": "array"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "type": {
      -        "const": "choice"
      -      }
      -    },
      -    "required": [
      -      "type",
      -      "instructions",
      -      "criteria"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "criteria": {
      -        "items": {
      -          "anyOf": [
      -            {
      -              "type": "string"
      -            },
      -            {
      -              "type": "object"
      -            },
      -            {
      -              "type": "array"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ]
      -        },
      -        "maxItems": 10,
      -        "minItems": 2,
      -        "type": "array"
      -      },
      -      "instructions": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "object"
      -          },
      -          {
      -            "type": "array"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "type": {
      -        "const": "score"
      -      }
      -    },
      -    "required": [
      -      "type",
      -      "instructions",
      -      "criteria"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "criteria": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "false": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "object"
      +              },
      +              {
      +                "type": "array"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "true": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "object"
      +              },
      +              {
      +                "type": "array"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "instructions": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "object"
      +          },
      +          {
      +            "type": "array"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "type": {
      +        "const": "noul"
      +      }
      +    },
      +    "required": [
      +      "type",
      +      "instructions"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "criteria": {
      +        "additionalProperties": {
      +          "anyOf": [
      +            {
      +              "type": "string"
      +            },
      +            {
      +              "type": "object"
      +            },
      +            {
      +              "type": "array"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "maxProperties": 255,
      +        "minProperties": 1,
      +        "type": "object"
      +      },
      +      "instructions": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "object"
      +          },
      +          {
      +            "type": "array"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "type": {
      +        "const": "choice"
      +      }
      +    },
      +    "required": [
      +      "type",
      +      "instructions",
      +      "criteria"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "criteria": {
      +        "items": {
      +          "anyOf": [
      +            {
      +              "type": "string"
      +            },
      +            {
      +              "type": "object"
      +            },
      +            {
      +              "type": "array"
      +            }
      +          ]
      +        },
      +        "maxItems": 10,
      +        "minItems": 2,
      +        "type": "array"
      +      },
      +      "instructions": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "object"
      +          },
      +          {
      +            "type": "array"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "type": {
      +        "const": "score"
      +      }
      +    },
      +    "required": [
      +      "type",
      +      "instructions",
      +      "criteria"
      +    ],
      +    "type": "object"
      +  }
      +]
    • addedInput schema / properties / questions / maxProperties
      Added value: +64
    • addedInput schema / properties / questions / minProperties
      Added value: +1
  2. First observedv0.5.0

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is fully covered. The description adds useful context about returning raw typed answers and the bounded scope of questions, but does not disclose any additional behavioral traits such as error handling, state size limits, or model selection effects.

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?

Two concise sentences: the first states the core purpose and output, the second states the applicable scope and exclusions. There is no redundancy, and the most important information is front-loaded.

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?

Given the rich input schema, 100% schema description coverage, output schema, and safety annotations, the description provides enough orientation for correct invocation. It could be slightly more complete by noting when the optional model parameter matters, but that is already covered in the schema, so the remaining gap is 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 description coverage is 100%, so the schema already documents state, questions, and model thoroughly. The description reinforces that questions must be bounded noul/choice/score and that state can be text or structured evidence, but it does not materially add beyond what the schema's property descriptions already specify.

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?

The description clearly states a specific action ('Evaluate state with TypeSafe Jev'), a defined resource type (state), and a concrete output ('return the raw typed answers'). It also narrows the applicable question types to bounded noul, choice, or score, and excludes prose, code generation, arithmetic, and dates, which makes its purpose distinct among the sibling tools.

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?

The description gives explicit when-to-use guidance ('Use for bounded noul, choice, or score questions') and explicit when-not-to-use guidance ('never for prose, code generation, arithmetic, or dates'). However, it does not name alternative sibling tools, so the agent must infer which sibling handles those excluded cases.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools