Skip to main content
Glama

Get profile by id

get_profile_by_id
Read-only

Fetch one profile's core fields (name, contact, headline, summary, preferences, tag lists, context) plus _count of rows per section. context is standing text on how to represent this person; read it before writing anything for them. Section rows are not included; use get_profile_section. Not found if the profile is outside the caller's access.

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_profile_by_id"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesProfile id, from list_profiles.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered; the description adds real value beyond that. It discloses the response shape (core fields plus `_count` per section), the semantic role of `context` as standing representation guidance, and the access-scoped not-found behavior for profiles outside the caller's access.

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?

Three sentences, front-loaded with the returned payload, then the `context` handling instruction, then the sibling exclusion. The field list is dense but functional; no sentence is padding, though the parenthetical enumeration is slightly heavy.

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?

With no output schema, the description carries the burden of describing returns and does so concretely, including what is omitted (section rows) and the access failure mode. For a one-parameter read tool this is complete enough to invoke correctly on the first try.

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?

There is a single parameter with 100% schema description coverage, and the schema already states it is a profile id from list_profiles and constrains its UUID format. The description adds no further meaning about the id, so the baseline of 3 applies.

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 states a specific verb and resource ("Fetch one profile's core fields") and enumerates the returned fields, including `context` and `_count`. It explicitly distinguishes itself from get_profile_section by noting that section rows are not included, so an agent can separate the two without opening either schema.

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?

It names the boundary condition against the closest sibling ("Section rows are not included; use get_profile_section") and adds a sequencing rule ("read it before writing anything for them"). It does not cover when to prefer it over other profile-adjacent getters, but the primary ambiguity is resolved.

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