Skip to main content
Glama

Найти в РУЗ

ruz_find_person
Read-onlyIdempotent

Search HSE students, lecturers, groups, or rooms by name or group number via RUZ to get IDs and labels for schedule lookups. Requires HSE campus network or staff VPN.

Instructions

Поиск студента, преподавателя, группы или аудитории ВШЭ по подстроке (ФИО, номер группы) через API RUZ (ruz.hse.ru/api/search). ВАЖНО: RUZ отдаёт данные только из внутренней сети ВШЭ (Wi-Fi HSE.Student на кампусе или VPN сотрудника) — вне сети запрос вернёт ошибку. Возвращает до limit совпадений (id и подпись) и их общее число total — id с тем же type передаётся в ruz_get_schedule. Если total больше limit, уточните запрос.

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": {
      "term": "<term>"
    },
    "name": "ruz_find_person"
  }
}

Input Schema

NameRequiredDescriptionDefault
termYesСтрока поиска: часть ФИО, номер группы и т.п.
typeNostudent
limitNoСколько совпадений вернуть

Output Schema

NameRequiredDescriptionDefault
totalYesСколько пригодных совпадений (с id) нашёл RUZ, до обрезки по limit
resultsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv0.2.3
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / limit
      Added value: +{
      +  "default": 20,
      +  "description": "Сколько совпадений вернуть",
      +  "maximum": 100,
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • addedInput schema / properties / term / minLength
      Added value: +2
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": false,
      +  "properties": {
      +    "results": {
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "description": {
      +            "type": "string"
      +          },
      +          "id": {
      +            "type": "number"
      +          },
      +          "label": {
      +            "type": "string"
      +          },
      +          "type": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "id",
      +          "label",
      +          "type"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "total": {
      +      "description": "Сколько пригодных совпадений (с id) нашёл RUZ, до обрезки по limit",
      +      "type": "number"
      +    }
      +  },
      +  "required": [
      +    "results",
      +    "total"
      +  ],
      +  "type": "object"
      +}
  2. First observedv0.1.0

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/openWorld, but the description adds what annotations cannot: RUZ only serves data from the internal HSE network or staff VPN and otherwise returns an error. It also describes the response shape (up to limit matches with id+label plus total), far beyond the annotation set.

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?

Front-loaded with purpose, then the critical network warning, then return shape and follow-up. Dense but nearly every clause carries actionable information; slightly long for what is fundamentally a search tool.

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

Completeness5/5

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

Covers precondition (network), semantics of return (matches + total), truncation handling, and hand-off to the sibling tool. With an output schema present, nothing an agent needs before calling is missing.

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?

Adds meaning beyond the 67% schema coverage: term is a substring of ФИО or group number, limit caps returned matches, and type determines which id namespace the result belongs to for the follow-up schedule call. The type parameter itself has an enum without inline description, and the description only covers it indirectly.

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 enumerates the exact resources found (студент, преподаватель, группа, аудитория) plus the backing endpoint (ruz.hse.ru/api/search). This is clearly distinct from ruz_get_schedule, which consumes the resulting id.

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?

Explicitly routes the agent: the resulting id with the same type is passed to ruz_get_schedule, and if total exceeds limit the agent is told to refine the query. It also states the network precondition that determines whether the call can succeed at all.

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