Skip to main content
Glama

github_copilot_spaces_get_resource_for_user

Read-only

Retrieves a specific resource from a user's Copilot Space by username, space number, and resource ID, helping you access space content programmatically.

Instructions

Get a resource for a Copilot Space for a user

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": {
      "username": "<username>",
      "space_number": "<space_number>",
      "space_resource_id": "<space_resource_id>"
    },
    "name": "github_copilot_spaces_get_resource_for_user"
  }
}

Input Schema

NameRequiredDescriptionDefault
usernameYesusername
space_numberYesspace_number
space_resource_idYesspace_resource_id

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.0.0

TDQS

C2.6/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds nothing beyond that: it does not say what a 'resource' is, whether access is permission-gated, or what happens if the space_resource_id does not exist.

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

Conciseness3/5

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

It is a single short sentence with the verb front-loaded and no wasted words. However, it is concise to the point of being a restatement of the name, so the few words present do not earn much beyond what the tool identifier already conveys.

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?

For a simple three-parameter read-only fetch with no output schema and no nested objects, the description covers the minimum needed to attempt a call. What is missing — the meaning of a 'space resource' and the return shape — is a real but modest gap given the tool's low complexity.

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

Parameters2/5

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

All three parameters are required and schema coverage is nominally 100%, but each schema description merely repeats the field name ('username': 'username'), so no real semantics are conveyed anywhere. The tool description likewise says nothing about expected formats, e.g. whether space_number is numeric, a string id, or a display number.

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

Purpose3/5

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

The sentence names a verb (Get) and a resource (a Copilot Space resource for a user), so the basic action is identifiable. But it is a near-verbatim paraphrase of the tool name, and it never clarifies that it fetches a single resource rather than a collection, which is the key distinction from github_copilot_spaces_list_resources_for_user.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no prerequisites (e.g., whether the caller must own the space or be a collaborator), and no mention of alternatives such as list_resources_for_user or the org-scoped sibling. The agent must infer routing purely from the tool name.

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